Bug 1342793 - Style the permission states wrapped on multiple lines in the control center to align correctly. r=Paolo
authorPrathiksha <prathikshaprasadsuman@gmail.com>
Sun, 14 May 2017 19:13:19 +0530
changeset 363334 d9b245a92c6c
parent 363333 405e89243e0a
child 363335 9dbf22ca2932
push id44504
push userryanvm@gmail.com
push dateSat, 10 Jun 2017 12:33:00 +0000
treeherderautoland@d9b245a92c6c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersPaolo
bugs1342793
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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