richard pushed to branch base-browser-115.2.0esr-13.0-1 at The Tor Project / 
Applications / Tor Browser


Commits:
f92d4107 by Henry Wilkes at 2023-08-24T20:08:12+00:00
fixup! Bug 40925: Implemented the Security Level component

Bug 42046: Clean up XUL layout hack in security level panel.

- - - - -


1 changed file:

- browser/components/securitylevel/content/securityLevelPanel.css


Changes:

=====================================
browser/components/securitylevel/content/securityLevelPanel.css
=====================================
@@ -1,12 +1,10 @@
 /* Security Level CSS */
 
 #securityLevel-background {
-  /* xul:vbox with display: block will be correctly measured in size by the
-   * parent xul:panel, with line-wrapping taken into account, and allocated the
-   * required space. */
-  display: block;
   min-height: 10em;
   padding-inline: 16px;
+  padding-block: 1em 0;
+  gap: 1em;
   background-repeat: no-repeat;
   background-position-y: top 0.4em;
   /* Icon center should be in-line with end padding.
@@ -37,6 +35,10 @@
   background-image: 
url("chrome://browser/content/securitylevel/securityLevelIcon.svg#safest");
 }
 
+#securityLevel-background p {
+  margin: 0;
+}
+
 /* Override margin in panelUI-shared.css */
 #securityLevel-panel toolbarseparator#securityLevel-separator {
   margin-inline: 16px;



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f92d4107a217030f6f080e8c0d4d072303740c1b

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f92d4107a217030f6f080e8c0d4d072303740c1b
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to