mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Scroll lock przy otwartym modalu
This commit is contained in:
+13
-5
@@ -25,6 +25,15 @@ body {
|
||||
padding: 0;
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
overflow-y: scroll;
|
||||
|
||||
&.no-scroll {
|
||||
overflow-y: hidden;
|
||||
padding-right: 17px;
|
||||
|
||||
@include smallScreen() {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
*:focus-visible {
|
||||
@@ -37,16 +46,15 @@ body {
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 0.5rem;
|
||||
height: 0.5rem;
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
|
||||
&-track {
|
||||
background: #222;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
&-thumb {
|
||||
border-radius: 1rem;
|
||||
background: #777;
|
||||
background-color: #777;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user