Bug 1407021 - Ensure in-content button font-size is not overridden by widget styling (e.g. in forms.css). r=dao draft
authorNihanth Subramanya <nhnt11@gmail.com>
Tue, 10 Oct 2017 00:56:55 +0530
changeset 676838 c99d2ed83a7d42822715325e1f1f6490b9ec9a9d
parent 676552 5eba13f5b3a6ad80decdd8c7b30bff5fa477844f
child 735080 523f91d1de9166ce1b8d6be0a6959cfd0ac65a9f
push id83651
push usernhnt11@gmail.com
push dateMon, 09 Oct 2017 19:27:25 +0000
reviewersdao
bugs1407021
milestone58.0a1
Bug 1407021 - Ensure in-content button font-size is not overridden by widget styling (e.g. in forms.css). r=dao MozReview-Commit-ID: 2CRNOWClWmZ
toolkit/themes/shared/in-content/common.inc.css
--- a/toolkit/themes/shared/in-content/common.inc.css
+++ b/toolkit/themes/shared/in-content/common.inc.css
@@ -188,16 +188,18 @@ xul|menulist {
   border: 1px solid var(--in-content-box-border-color);
   -moz-border-top-colors: none !important;
   -moz-border-right-colors: none !important;
   -moz-border-bottom-colors: none !important;
   -moz-border-left-colors: none !important;
   border-radius: 2px;
   background-color: var(--in-content-page-background);
   margin: 4px 8px;
+  /* Ensure font-size isn't overridden by widget styling (e.g. in forms.css) */
+  font-size: 1em;
 }
 
 xul|button,
 html|button {
   /* use the same margin of other elements for the alignment */
   margin-left: 4px;
   margin-right: 4px;
 }