[tbb-commits] [Git][tpo/applications/tor-browser][base-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:08:24 UTC 2023



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.


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


More information about the tbb-commits mailing list