fenix-fox/chrome/urlbar_and_popup_equal_width.css
2020-05-22 09:07:26 +03:00

28 lines
No EOL
1 KiB
CSS

/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/urlbar_and_popup_equal_width.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* DEPRECATED AS OF FIREFOX 75 */
/* Constrains urlbar popup to urlbar width */
/* Firefox 70+ */
#urlbar-container{
transform: translateY(0);
position: relative;
z-index: 10;
padding-block: 3px !important;
padding-inline: 0px !important;
margin-inline: 5px !important;
}
#nav-bar-customization-target{ overflow: visible !important }
#urlbar-results{ max-width: 100% !important; }
.urlbarView{
top: calc(100% - 5px) !important;
width: 100%;
border-width: 0 1px 1px 1px !important;;
border-style: solid;
border-color: inherit !important;
}
:root[uidensity="compact"] .urlbarView { margin-top: 2px }
:root[uidensity="touch"] .urlbarView { margin-top: 1px }
#urlbar[open]{ border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; }
.urlbarView-row{ padding: 6px 0px !important; }