From 31371140e161240c664cad0a55cee88a98f75f19 Mon Sep 17 00:00:00 2001 From: Peter Mack <peter@linmob.net> Date: Sun, 16 Mar 2025 11:13:31 +0100 Subject: [PATCH] Fixing urlbar popout on current Firefox Remaining issues: - narrow suggestion window in FF 136 - vertical order and spacing could be better Part-of: https://gitlab.postmarketos.org/postmarketOS/mobile-config-firefox/-/merge_requests/75 --- src/userChrome/urlbar.css | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/userChrome/urlbar.css b/src/userChrome/urlbar.css index c3381ab..114c215 100644 --- a/src/userChrome/urlbar.css +++ b/src/userChrome/urlbar.css @@ -1,4 +1,4 @@ -/* Copyright 2022 Oliver Smith +/* Copyright 2025 Oliver Smith, Peter Mack * SPDX-License-Identifier: MPL-2.0 */ /* Reduce minimum window width */ @@ -65,6 +65,27 @@ display: none; } + /* Fixing invisible URL bar on FF 133+ */ + #urlbar[breakout][breakout-extend] { + width: --urlbar-width !important; + bottom: 0 !important; + z-index: 5 !important; + } + + @media not (-moz-bool-pref: "mcf.addressbarontop") { + #urlbar[breakout][breakout-extend] { + top: 0 !important; + align-content: flex-end !important; + } + } + + @media (-moz-bool-pref: "mcf.addressbarontop") { + #urlbar[breakout][breakout-extend] { + top: calc(1.1 * --urlbar-container-height) !important; + align-content: flex-start !important; + } + } + /* Label of "identity icons", e.g. firefox specific pages look weird * when ellipsed, e.g. "F..x" instead of "Firefox". So just hide this * label. The icon itself is still visible. */ -- GitLab