Bug 1701055 - Update block margins around Learn more links in permission panels with Proton enabled. r=prathiksha
authorLuz De La Rosa <luzdelarosaramirez@gmail.com>
Wed, 21 Apr 2021 14:48:37 +0000
changeset 576947 078f1bd546bce50482c5adc824e978a5e847faae
parent 576946 d2afe4b710b241c4aadf9d7540500cde2f52d0e9
child 576948 8b8067f49855aef2343699ec5ab2a95efa141220
push id38396
push usercsabou@mozilla.com
push dateWed, 21 Apr 2021 21:27:40 +0000
treeherdermozilla-central@683c2a81d1a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersprathiksha
bugs1701055
milestone90.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 1701055 - Update block margins around Learn more links in permission panels with Proton enabled. r=prathiksha Differential Revision: https://phabricator.services.mozilla.com/D112968
toolkit/themes/shared/popupnotification.inc.css
--- a/toolkit/themes/shared/popupnotification.inc.css
+++ b/toolkit/themes/shared/popupnotification.inc.css
@@ -43,20 +43,16 @@
   opacity: 0.6;
   margin-top: .5em !important;
 }
 
 .popup-notification-hint-text:empty {
   display: none;
 }
 
-.popup-notification-learnmore-link {
-  margin-top: .5em !important;
-}
-
 .popup-notification-button-container {
   display: flex;
 }
 
 .popup-notification-button-container > toolbarseparator {
   appearance: none;
   border: 0;
   border-left: 1px solid var(--panel-separator-color);
@@ -80,16 +76,20 @@
   flex: 1;
 }
 
 @media not (-moz-proton-doorhangers) {
 .popup-notification-dropmarker {
   flex: none;
   padding: 0 15px !important;
 }
+
+.popup-notification-learnmore-link {
+  margin-top: .5em !important;
+}
 } /** END not Proton **/
 
 .popup-notification-dropmarker > .button-box > hbox {
   display: none;
 }
 
 .popup-notification-dropmarker > .button-box > .button-menu-dropmarker {
   /* This is to override the linux !important */
@@ -245,10 +245,11 @@
 
 .panel-footer > .popup-notification-dropmarker {
   max-width: 32px;
   padding: 8px;
 }
 
 .popup-notification-learnmore-link {
   text-decoration: underline;
+  margin-block: 0 8px;
 }
 } /*** END proton ***/