mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
Bug 1691543 - Increase urlbar-min-height to 34px in Touch mode. r=mak
I also tried setting the height to 36px and removing the padding-block override. I didn't think it looked very good. I like that there's slightly more padding around the Urlbar in Touch mode. It makes the UI feel roomy instead of inflated. Differential Revision: https://phabricator.services.mozilla.com/D110126
This commit is contained in:
parent
43975df10a
commit
9ec310f320
@ -63,6 +63,11 @@
|
||||
--urlbar-icon-padding: 3px; /* (26px - 2px border - 2px padding - 16px icon) / 2 */
|
||||
}
|
||||
|
||||
:root[uidensity=touch] {
|
||||
--urlbar-min-height: 34px;
|
||||
--urlbar-icon-padding: 7px; /* (34px - 2px border - 2px padding - 16px icon) / 2 */
|
||||
}
|
||||
|
||||
@supports not -moz-bool-pref("browser.proton.urlbar.enabled") {
|
||||
:root {
|
||||
--urlbar-min-height: 30px;
|
||||
|
@ -42,7 +42,7 @@
|
||||
@supports -moz-bool-pref("browser.proton.enabled") {
|
||||
:root[uidensity=touch] #urlbar-container,
|
||||
:root[uidensity=touch] #search-container {
|
||||
padding-block: 6px;
|
||||
padding-block: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user