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 413811 d9b245a92c6cf1e46a9fbbe559f57afff90f7fd4
parent 413810 405e89243e0a88abf3982cddb4a2043ec3eef908
child 413812 9dbf22ca29326b84af6c9c71dac4ed0fa94d4a5f
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [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