Bug 1574406 - Add html namespace in shared messenger.css to align number box in LDAP server properties. r=mkmelin a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Fri, 16 Aug 2019 14:31:17 +0200
changeset 77548 c8bd94d776a97d2ce0dbbe7de95a1b302c9757dc
parent 77547 26a3d9c11cb68b6327bb85548a70d39a778162ca
child 77549 31d9b992860b3e4065e5b9f2c77331ba12986479
push id9117
push usergeoff@darktrojan.net
push dateMon, 19 Aug 2019 04:34:45 +0000
treeherdertry-comm-central@c00067a29df3 [default view] [failures only]
reviewersmkmelin, jorgk
bugs1574406
Bug 1574406 - Add html namespace in shared messenger.css to align number box in LDAP server properties. r=mkmelin a=jorgk
mail/themes/shared/mail/messenger.css
--- a/mail/themes/shared/mail/messenger.css
+++ b/mail/themes/shared/mail/messenger.css
@@ -1,12 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+@namespace html url("http://www.w3.org/1999/xhtml");
+
 :root {
   --autocomplete-popup-background: -moz-field;
   --autocomplete-popup-color: -moz-fieldtext;
   --autocomplete-popup-border-color: ThreeDShadow;
   --autocomplete-popup-highlight-background: Highlight;
   --autocomplete-popup-highlight-color: HighlightText;
   /* Note: Setting this to 0 (without px) breaks CSS calculations for OSX. */
   --space-above-tabbar: 0px;
@@ -505,17 +507,17 @@ html|span.ac-emphasize-text {
   -moz-box-ordinal-group: 3;
 }
 
 .ac-url-text {
   max-width: unset !important;
 }
 
 html|input[type="number"] {
-  margin-inline-start: 4px;
+  margin: 2px 4px;
 }
 /* sizes: chars + 8px padding + 1px borders + spin buttons 14+0+10px  */
 html|input[type="number"].size2 {
   width: calc(2ch + 44px);
 }
 html|input[type="number"].size3 {
   width: calc(3ch + 44px);
 }