[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-115.2.0esr-13.0-1] fixup! Bug 40925: Implemented the Security Level component

richard (@richard) git at gitlab.torproject.org
Thu Aug 24 20:04:11 UTC 2023



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


Commits:
50e86985 by Henry Wilkes at 2023-08-24T20:01:28+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/50e869855763bb30fc6e51d6be273dd4a7307d71

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230824/403a97d8/attachment-0001.htm>


More information about the tbb-commits mailing list