From f624c835c2703652f949bfb66c61ffa582511cfb Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 19 Jan 2024 11:26:01 -0500 Subject: [PATCH] Remove minimum height constraint from "My filters" pane Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3058 --- src/3p-filters.html | 2 +- src/css/1p-filters.css | 4 ++++ src/css/common.css | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/3p-filters.html b/src/3p-filters.html index a7791208077a0..242b448801e6a 100644 --- a/src/3p-filters.html +++ b/src/3p-filters.html @@ -18,7 +18,7 @@
- +
diff --git a/src/css/1p-filters.css b/src/css/1p-filters.css index 679e4b883d7da..83e5ee00b1d28 100644 --- a/src/css/1p-filters.css +++ b/src/css/1p-filters.css @@ -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; } diff --git a/src/css/common.css b/src/css/common.css index 1a8ba0b3476ae..8c3a1e98d3bf9 100644 --- a/src/css/common.css +++ b/src/css/common.css @@ -309,7 +309,7 @@ select { font-size: 1.2rem; padding: 0; } - button.iconified > [data-i18n] { + button.iconified:not(.dontshrink) > [data-i18n] { display: none; } }