Bug 1552130 - Stop reducing .urlbarView-secondary's font size when there's no primary text. r=adw
authorDão Gottwald <dao@mozilla.com>
Thu, 16 May 2019 15:24:13 +0000
changeset 474106 82903bdb446a0c780a3faaf503cea8a6dc43550c
parent 474105 787463261cbf1aa187584ca5d12a634ef61bfc8c
child 474107 cf3ffc5477de947590d7b9b4a1cd9dc77619cfb9
push id36022
push userncsoregi@mozilla.com
push dateThu, 16 May 2019 21:55:16 +0000
treeherdermozilla-central@96802be91766 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw
bugs1552130
milestone68.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 1552130 - Stop reducing .urlbarView-secondary's font size when there's no primary text. r=adw Differential Revision: https://phabricator.services.mozilla.com/D31411
browser/themes/shared/urlbar-autocomplete.inc.css
--- a/browser/themes/shared/urlbar-autocomplete.inc.css
+++ b/browser/themes/shared/urlbar-autocomplete.inc.css
@@ -132,17 +132,17 @@
   margin: 0 .4em;
 }
 
 .urlbarView-title:empty + .urlbarView-tags:empty + .urlbarView-title-separator {
   display: none;
 }
 
 .urlbarView-tags,
-.urlbarView-secondary {
+.urlbarView-title:not(:empty) ~ .urlbarView-secondary {
   font-size: .85em;
 }
 
 .urlbarView-title > strong,
 .urlbarView-url > strong,
 .urlbarView-tag > strong {
   font-weight: 600;
 }