Skip to content

Commit

Permalink
Fixed translation button in url bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael committed Jul 10, 2024
1 parent 3a41eae commit 292b39b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Private Mode Style/userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,17 @@ LAYOUT
min-height: 19px !important;
margin: -3px 0px !important;
}
.urlbar-page-action {
.urlbar-page-action:not(#translations-button[translationsactive="true"]) {
height: 21px !important;
width: 24px !important;
margin: -3px 0px !important;
}
#translations-button[translationsactive="true"] {
height: 21px !important;
}
#translations-button-locale {
margin: -3px 2px !important;
}
#notification-popup-box {
height: 21px !important;
margin: 0px 0px !important;
Expand Down
8 changes: 7 additions & 1 deletion Titlebar Enabled/userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -394,11 +394,17 @@ Normal mode
height: 19px !important;
margin: -3px 0px !important;
}
.urlbar-page-action {
.urlbar-page-action:not(#translations-button[translationsactive="true"]) {
height: 21px !important;
width: 24px !important;
margin: -3px 0px !important;
}
#translations-button[translationsactive="true"] {
height: 21px !important;
}
#translations-button-locale {
margin: -3px 2px !important;
}
#notification-popup-box {
height: 21px !important;
margin: 0px 0px !important;
Expand Down
8 changes: 7 additions & 1 deletion base.css
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,17 @@ Normal mode
height: 19px !important;
margin: -3px 0px !important;
}
.urlbar-page-action {
.urlbar-page-action:not(#translations-button[translationsactive="true"]) {
height: 21px !important;
width: 24px !important;
margin: -3px 0px !important;
}
#translations-button[translationsactive="true"] {
height: 21px !important;
}
#translations-button-locale {
margin: -3px 2px !important;
}
#notification-popup-box {
height: 21px !important;
margin: 0px 0px !important;
Expand Down

0 comments on commit 292b39b

Please sign in to comment.