mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 22:29:24 +00:00
Remove css duplication
This commit is contained in:
parent
cba5c8e9da
commit
5fdd7f52a4
@ -251,6 +251,13 @@ html[dir="rtl"] .lang-dropdown-item-wrapper {
|
|||||||
border-left: 2px solid var(--md-nav-color-on-separator);
|
border-left: 2px solid var(--md-nav-color-on-separator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.scroll-lock-y {
|
||||||
|
overflow-y: auto;
|
||||||
|
max-height: 30vh;
|
||||||
|
overscroll-behavior-y: contain;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
}
|
||||||
|
|
||||||
/* Responsive adjustments */
|
/* Responsive adjustments */
|
||||||
@media (min-width: 1200px) {
|
@media (min-width: 1200px) {
|
||||||
.lang-dropdown-item-wrapper .dropdown-item {
|
.lang-dropdown-item-wrapper .dropdown-item {
|
||||||
@ -258,18 +265,7 @@ html[dir="rtl"] .lang-dropdown-item-wrapper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.scroll-lock-y {
|
.scroll-lock-y {
|
||||||
overflow-y: auto;
|
|
||||||
max-height: 80vh;
|
max-height: 80vh;
|
||||||
overscroll-behavior-y: contain;
|
|
||||||
-webkit-overflow-scrolling: touch;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media (max-width: 1200px) {
|
|
||||||
.scroll-lock-y {
|
|
||||||
overflow-y: auto;
|
|
||||||
max-height: 30vh;
|
|
||||||
overscroll-behavior-y: contain;
|
|
||||||
-webkit-overflow-scrolling: touch;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user