Skip to content

Commit

Permalink
Fix: Hidden - urlbar iconbox label margin #593
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Jan 31, 2023
1 parent 700335e commit 8ac1fb6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css/leptonChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -9605,6 +9605,11 @@
}
}
@supports -moz-bool-pref("userChrome.hidden.urlbar_iconbox.label_only") {
#identity-box[pageproxystate="valid"].notSecureText,
#identity-box[pageproxystate="valid"].chromeUI,
#identity-box[pageproxystate="valid"].extensionPage {
margin-inline-end: var(--identity-box-margin-inline) !important;
}
#identity-box[pageproxystate="valid"].chromeUI #identity-icon-box:not(:hover),
#identity-box[pageproxystate="valid"].extensionPage #identity-icon-box:not(:hover) {
background-color: transparent !important;
Expand Down
6 changes: 6 additions & 0 deletions src/hidden/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@
}
}
@include Option("userChrome.hidden.urlbar_iconbox.label_only") {
&.notSecureText,
&.chromeUI,
&.extensionPage {
margin-inline-end: var(--identity-box-margin-inline) !important;
}

&.chromeUI #identity-icon-box,
&.extensionPage #identity-icon-box {
&:not(:hover) {
Expand Down

0 comments on commit 8ac1fb6

Please sign in to comment.