Skip to content

Commit

Permalink
see if condensing mobile detect works
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Aug 7, 2023
1 parent 19edd14 commit 0ada5a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,22 +139,17 @@ body {
<style scoped lang="scss">
@import '@/assets/style-variables.scss';
/* Media query for mobile devices */
@media only screen and (max-width: 768px) {
body {
max-width: 100%;
overflow-x: hidden; /* Hide horizontal scrollbar */
}
}
/* Feature detection for touch devices (phones and tablets) */
@supports (-webkit-touch-callout: none) {
/* Apply styles specifically for touch devices here */
/* Media query for mobile devices */
@media only screen and (max-width: 768px) {
body {
max-width: 100%;
overflow-x: hidden; /* Hide horizontal scrollbar */
}
}
}
.app {
padding: 0;
margin: 0;
Expand Down
1 change: 1 addition & 0 deletions src/components/map/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ $sideMenu-width: 250px;
z-index: 2000;
width: $sideMenu-width;
padding-top: 1em;
// margin-top: 10em;
}
.sideMenuGroupTitle {
font-size: 18px;
Expand Down

0 comments on commit 0ada5a3

Please sign in to comment.