Skip to content

Commit 59cfaa6

Browse files
committed
Fix: URLBar - Remove Megabar CSS #1038
1 parent 667786c commit 59cfaa6

3 files changed

Lines changed: 24 additions & 16 deletions

File tree

css/leptonChrome.css

Lines changed: 12 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/leptonChromeESR.css

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/padding/_index.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,14 @@
5151
}
5252
@include Option("userChrome.padding.urlView_expanding", "userChrome.urlView.as_commandbar") {
5353
#urlbar[breakout][breakout-extend] {
54-
top: calc((var(--urlbar-toolbar-height, var(--urlbar-container-height)) - var(--urlbar-height)) / 2) !important;
55-
left: 0 !important;
56-
width: 100% !important;
54+
top: calc(var(--urlbar-container-height) * 2 - var(--urlbar-height)) !important;
55+
width: var(--urlbar-width) !important;
56+
position: relative !important;
57+
margin: 0 !important;
5758
}
5859

59-
#urlbar[breakout][breakout-extend] > #urlbar-input-container {
60+
#urlbar[breakout][breakout-extend] > #urlbar-input-container,
61+
#urlbar[breakout][breakout-extend] > .urlbar-input-container {
6062
height: var(--urlbar-height) !important;
6163
padding-block: 0 !important;
6264
padding-inline: var(--urlbar-container-padding, 0px) !important;

0 commit comments

Comments
 (0)