Skip to content

Commit

Permalink
chore: Hide double scroll (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipetoffolo1 authored Jan 13, 2025
1 parent a3a15a2 commit 8ff9c42
Showing 1 changed file with 28 additions and 12 deletions.
40 changes: 28 additions & 12 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,29 @@ html {
}

* {
-webkit-user-drag: none; /* iOS Safari */
-khtml-user-drag: none; /* Konqueror HTML */
-moz-user-drag: none; /* Old versions of Firefox */
-o-user-drag: none; /* Internet Explorer/Edge */
user-drag: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */

-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
-webkit-user-drag: none;
/* iOS Safari */
-khtml-user-drag: none;
/* Konqueror HTML */
-moz-user-drag: none;
/* Old versions of Firefox */
-o-user-drag: none;
/* Internet Explorer/Edge */
user-drag: none;
/* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */

-webkit-touch-callout: none;
/* iOS Safari */
-webkit-user-select: none;
/* Safari */
-khtml-user-select: none;
/* Konqueror HTML */
-moz-user-select: none;
/* Old versions of Firefox */
-ms-user-select: none;
/* Internet Explorer/Edge */
user-select: none;
/* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

a {
Expand Down Expand Up @@ -188,3 +199,8 @@ h6 {
margin-top: 1rem;
margin-bottom: 0;
}

/* Workaround for vuetify issue https://github.com/vuetifyjs/vuetify/issues/1197 */
html {
overflow-y: hidden !important;
}

0 comments on commit 8ff9c42

Please sign in to comment.