Skip to content

Commit

Permalink
test landscope iphone
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Aug 21, 2023
1 parent 4d0c587 commit 1a16d78
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ body {
@import '@/assets/style-variables.scss';
/* Media query for mobile devices */
@media only screen and (max-width: 768px) {
@media only screen and (max-width: 844px) {
body {
max-width: 100%;
overflow-x: hidden; /* Hide horizontal scrollbar */
Expand Down
2 changes: 1 addition & 1 deletion src/components/UsrMsg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
},
computed: {
isSmallScreen () {
return window.innerWidth < 768 // Adjust this threshold as needed
return window.innerWidth < 844 // Adjust this threshold as needed
},
buttonText () {
return this.isSmallScreen
Expand Down
6 changes: 3 additions & 3 deletions src/components/map/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export default {
async created () {
await this.$store.dispatch( 'map/loadGeometry' )
this.mapLoaded = true
this.message = window.innerWidth > 768
this.message = window.innerWidth > 844
EventBus.$on( 'inputData', inputWord => {
this.message = inputWord
console.log( this.message )
Expand Down Expand Up @@ -535,7 +535,7 @@ $sideMenu-width: 250px;
width: calc(100% - #{$sideMenu-width});
}
@media only screen and (max-width: 768px) {
@media only screen and (max-width: 844px) {
.stage {
padding: 0;
position: absolute;
Expand Down Expand Up @@ -584,7 +584,7 @@ $sideMenu-width: 250px;
}
}
@media only screen and (min-width: 769px) {
@media only screen and (min-width: 844px) {
.hideMenuButton {
font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial,
sans-serif;
Expand Down
2 changes: 1 addition & 1 deletion src/components/navBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ i {
}
// Mobile version - hidden hamburger menu
@media screen and (max-width: 768px) {
@media screen and (max-width: 844px) {
.nav-menu {
padding-left: -200;
padding-bottom: -20;
Expand Down

0 comments on commit 1a16d78

Please sign in to comment.