mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02: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 */
|
/* mouse-driven devices */
|
||||||
:root.desktop {
|
:root.desktop {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
|
||||||
}
|
}
|
||||||
:root.desktop body {
|
:root.desktop body {
|
||||||
--popup-gap: calc(var(--font-size) * 0.875);
|
--popup-gap: calc(var(--font-size) * 0.875);
|
||||||
@ -278,3 +277,10 @@ body:not([data-section~="b"]) [data-section="b"] {
|
|||||||
#templates {
|
#templates {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
#main {
|
||||||
|
max-width: 100vw;
|
||||||
|
width: 100vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -177,3 +177,12 @@ body.noMoreRuleset .listEntry:not(.checked) {
|
|||||||
#templates {
|
#templates {
|
||||||
display: none;
|
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