From cc93a34f047328a8310197459faa9da45044b521 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Tue, 26 Mar 2024 19:31:48 +0200 Subject: [PATCH] Hide container name box unless urlbar is hovered Fixes #353 --- chrome/urlbar_info_icons_on_hover.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome/urlbar_info_icons_on_hover.css b/chrome/urlbar_info_icons_on_hover.css index f4f3aa8..f506ffa 100644 --- a/chrome/urlbar_info_icons_on_hover.css +++ b/chrome/urlbar_info_icons_on_hover.css @@ -1,7 +1,7 @@ /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/urlbar_info_icons_on_hover.css made available under Mozilla Public License v. 2.0 See the above repository for updates as well as full license text. */ -/* Hides info icons (except remote control icon) on the left side of urlbar and shows them when urlbar is hovered. */ +/* Hides info icons (except remote control icon) on the left side of urlbar and shows them when urlbar is hovered. Also hides container name and shows it on hover*/ #urlbar-search-button, #tracking-protection-icon-container, @@ -17,4 +17,5 @@ See the above repository for updates as well as full license text. */ #urlbar:hover #urlbar-input-container > box, #urlbar:hover #identity-box.extensionPage #identity-icon-label{ max-width: 300px; -} \ No newline at end of file +} +#urlbar:not(:hover) #userContext-label{ display: none }