mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 18:32:45 +01:00
[mv3] Fine tune for small screens
This commit is contained in:
parent
f5169ac6ea
commit
f8a83fff7c
@ -256,7 +256,6 @@ body:not([data-section~="b"]) [data-section="b"] {
|
||||
/* mouse-driven devices */
|
||||
:root.desktop {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
:root.desktop body {
|
||||
--popup-gap: calc(var(--font-size) * 0.875);
|
||||
@ -278,3 +277,10 @@ body:not([data-section~="b"]) [data-section="b"] {
|
||||
#templates {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
#main {
|
||||
max-width: 100vw;
|
||||
width: 100vw;
|
||||
}
|
||||
}
|
||||
|
@ -177,3 +177,12 @@ body.noMoreRuleset .listEntry:not(.checked) {
|
||||
#templates {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
#defaultFilteringMode {
|
||||
grid: 1fr 1fr 1fr / auto-flow dense;
|
||||
}
|
||||
.filteringModeCard > div:nth-of-type(2) {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user