mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-09 12:16:30 +01:00
web/layout: hide all scrollbars
This commit is contained in:
parent
c5f2987dce
commit
faf087553b
2 changed files with 7 additions and 3 deletions
|
@ -63,7 +63,6 @@
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: var(--sidebar-width);
|
width: var(--sidebar-width);
|
||||||
position: sticky;
|
position: sticky;
|
||||||
scrollbar-width: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar-tabs {
|
#sidebar-tabs {
|
||||||
|
@ -71,7 +70,6 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-bottom: var(--padding);
|
padding-bottom: var(--padding);
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
scrollbar-width: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 535px) {
|
@media screen and (max-width: 535px) {
|
||||||
|
|
|
@ -35,10 +35,15 @@
|
||||||
|
|
||||||
:global(*) {
|
:global(*) {
|
||||||
font-family: "IBM Plex Mono", "Noto Sans Mono Variable", "Noto Sans Mono", monospace;
|
font-family: "IBM Plex Mono", "Noto Sans Mono Variable", "Noto Sans Mono", monospace;
|
||||||
-webkit-tap-highlight-color: transparent;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
scrollbar-width: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-webkit-user-drag: none;
|
-webkit-user-drag: none;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(::-webkit-scrollbar) {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(a) {
|
:global(a) {
|
||||||
|
@ -85,6 +90,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 535px) {
|
@media screen and (max-width: 535px) {
|
||||||
#cobalt {
|
#cobalt {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
Loading…
Reference in a new issue