Skip to content

Commit

Permalink
Remove minimum height constraint from "My filters" pane
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jan 19, 2024
1 parent 13dcd84 commit f624c83
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/3p-filters.html
Expand Up @@ -18,7 +18,7 @@

<div id="cloudWidget" class="hide" data-cloud-entry="tpFiltersPane"></div>
<div id="actions">
<button id="buttonApply" class="preferred disabled iconified" type="button" data-i18n-title="3pApplyChanges"><span class="fa-icon">check</span><span data-i18n="3pApplyChanges">_</span><span class="hover"></span></button>
<button id="buttonApply" class="preferred disabled iconified dontshrink" type="button" data-i18n-title="3pApplyChanges"><span class="fa-icon">check</span><span data-i18n="3pApplyChanges">_</span><span class="hover"></span></button>
<button id="buttonUpdate" class="preferred disabled iconified" type="button" data-i18n-title="3pUpdateNow"><span class="fa-icon">refresh</span><span data-i18n="3pUpdateNow">_</span><span class="hover"></span></button>
</div>

Expand Down
4 changes: 4 additions & 0 deletions src/css/1p-filters.css
Expand Up @@ -14,6 +14,10 @@ body {
.body {
flex-shrink: 0;
}
/* https://github.com/uBlockOrigin/uBlock-issues/issues/3058 */
:root.mobile body {
min-height: unset;
}
[data-i18n="1pTrustWarning"] {
font-weight: bold;
}
Expand Down
2 changes: 1 addition & 1 deletion src/css/common.css
Expand Up @@ -309,7 +309,7 @@ select {
font-size: 1.2rem;
padding: 0;
}
button.iconified > [data-i18n] {
button.iconified:not(.dontshrink) > [data-i18n] {
display: none;
}
}
Expand Down

0 comments on commit f624c83

Please sign in to comment.