Bug 1512748 - Increase UrlbarView row size in touch mode. r=Standard8
authorDão Gottwald <dao@mozilla.com>
Tue, 08 Jan 2019 13:41:17 +0000
changeset 509991 d7e6aa1a29de50f1543fdaa0d738289274c4ce2f
parent 509990 2482a109b0e28dacfe015fd8e4095b3c62a1ec00
child 509992 bf1e3f284efb0f13ef3909750f100a3a027c112a
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8
bugs1512748
milestone66.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 1512748 - Increase UrlbarView row size in touch mode. r=Standard8 Differential Revision: https://phabricator.services.mozilla.com/D15823
browser/themes/shared/urlbar-autocomplete.inc.css
--- a/browser/themes/shared/urlbar-autocomplete.inc.css
+++ b/browser/themes/shared/urlbar-autocomplete.inc.css
@@ -45,16 +45,21 @@
 
 .urlbarView-row {
   border-radius: 2px;
   padding: 7px;
   padding-inline-start: calc(var(--item-padding-start, calc(7px + @urlbarViewFaviconOffset@)) - @urlbarViewFaviconOffset@);
   padding-inline-end: var(--item-padding-end, 7px);
 }
 
+:root[uidensity=touch] .urlbarView-row {
+  padding-top: 17px;
+  padding-bottom: 17px;
+}
+
 .urlbarView-row-inner {
   overflow: hidden;
   display: block;
 }
 
 .urlbarView-row-inner[overflow] {
   mask-image: linear-gradient(to left, transparent, black 2em);
 }