Bug 1588922 - Tweak alignment of whitespace badge. r=jdescottes,victoria
authorJean <thomas.jean.lynch@gmail.com>
Wed, 06 Nov 2019 02:16:10 +0000
changeset 503340 acbeadae840438d387672553422eda98e4ece5cf
parent 503339 0ae41aa8997b2432ff017ec15dd65e737887a9da
child 503341 521cf01eb61383c3d4b2a7f66fce4433588b48b5
push id36833
push userbtara@mozilla.com
push dateFri, 22 Nov 2019 21:40:53 +0000
treeherdermozilla-central@2c912e46295e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdescottes, victoria
bugs1588922
milestone72.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 1588922 - Tweak alignment of whitespace badge. r=jdescottes,victoria Tweaked the alignment of the whitespace badge so it is flush with other tags. Differential Revision: https://phabricator.services.mozilla.com/D50863
devtools/client/themes/badge.css
--- a/devtools/client/themes/badge.css
+++ b/devtools/client/themes/badge.css
@@ -42,16 +42,17 @@
   user-select: none;
   background-color: var(--badge-background-color);
   color: var(--badge-color);
   box-sizing: border-box;
 }
 
 .editor.text .whitespace::before {
   content: attr(data-label);
+  margin-inline-start: 0;
 }
 
 @media (min-resolution: 1.1dppx) {
   .inspector-badge,
   .editor.text .whitespace::before {
     font-size: 9px;
   }
 }