Bug 1342793 - Style the permission states wrapped on multiple lines in the control center to align correctly. r?paolo draft
authorPrathiksha <prathikshaprasadsuman@gmail.com>
Sun, 14 May 2017 19:13:19 +0530
changeset 591981 d0406772102504ebbbff8c484ddf2f9fd495a19f
parent 590795 7efda263a842e60cd0cc00b3c4a7058c65590702
child 632675 d9a1f9c36b18d518440b4d6e0354e0264666e374
push id63230
push userbmo:prathikshaprasadsuman@gmail.com
push dateFri, 09 Jun 2017 19:08:04 +0000
reviewerspaolo
bugs1342793
milestone55.0a1
Bug 1342793 - Style the permission states wrapped on multiple lines in the control center to align correctly. r?paolo MozReview-Commit-ID: CDhmm6WNizu
browser/themes/shared/controlcenter/panel.inc.css
--- a/browser/themes/shared/controlcenter/panel.inc.css
+++ b/browser/themes/shared/controlcenter/panel.inc.css
@@ -164,21 +164,25 @@
 .identity-popup-permission-label,
 .identity-popup-permission-state-label,
 #identity-popup-security-content > description,
 #identity-popup-security-descriptions > description,
 #identity-popup-securityView-header > description,
 #identity-popup-securityView-body > description,
 #identity-popup-permissions-content > description,
 #tracking-protection-content > description {
-  white-space: pre-wrap;
   font-size: 110%;
   margin: 0;
 }
 
+/* This element needs the pre-wrap because we add newlines to it in the code. */
+#identity-popup-content-supplemental {
+  white-space: pre-wrap;
+}
+
 .identity-popup-headline {
   margin: 3px 0 4px;
   font-size: 150%;
 }
 
 .identity-popup-host {
   word-wrap: break-word;
   /* 1em + 2em + 24px is #identity-popup-security-content padding