Skip to content

Commit

Permalink
fix: #125 protection popup layout garbled
Browse files Browse the repository at this point in the history
  • Loading branch information
barraponto committed Sep 28, 2024
1 parent 5977220 commit f089823
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions chrome/WhiteSur/parts/popups-contents.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@
border: 1px solid var(--gnome-button-suggested-action-border-color) !important;
border-radius: 5px 5px 0 0;
min-height: 34px !important;

& + toolbarseparator { display: none !important; }
}
#protections-popup[toast] #protections-popup-mainView-panel-header {
border-radius: 5px !important;
Expand All @@ -221,12 +223,6 @@
border-radius: 0 !important;
}

#protections-popup-tp-switch-section {
background: var(--gnome-button-background) !important;
border: 1px solid var(--gnome-button-border-color) !important;
border-top: 0 !important;
border-radius: 0 0 5px 5px;
}
#protections-popup[hasException] #protections-popup-tp-switch-section {
margin-bottom: 10px !important;
color: white !important;
Expand All @@ -238,10 +234,6 @@
border-color: var(--gnome-button-destructive-action-border-color) !important;
}

#protections-popup-no-trackers-found-description {
margin: 10px 0 !important;
}

#protections-popup-blocking-section-header,
#protections-popup-not-found-section-header,
#protections-popup-not-blocking-section-header{
Expand Down Expand Up @@ -292,18 +284,6 @@
#protections-popup-tp-switch:not([enabled])[showdotindicator]::after {
display: none !important;
}
#protections-popup-tp-switch {
background: var(--gnome-switch-background) !important;
border: 1px solid var(--gnome-switch-border-color) !important;
border-radius: 24px !important;
min-width: 50px !important;
width: 50px !important;
min-height: 26px !important;
padding: 0 !important;
position: relative !important;
display: block !important;
margin: 0 !important;
}
#protections-popup-tp-switch:hover {
border-color: var(--gnome-switch-border-color) !important;
}
Expand Down Expand Up @@ -339,4 +319,4 @@
}
#PlacesToolbar menupopup[placespopup="true"] menuseparator:last-of-type {
display: none !important;
}
}

0 comments on commit f089823

Please # to comment.