mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
[mv3] Fine tune for small screens
This commit is contained in:
parent
f5169ac6ea
commit
f8a83fff7c
2 changed files with 16 additions and 1 deletions
|
@ -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 a new issue