[Nova] The Address Bar height in Compact mode does not match Figma specifications
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | verified |
People
(Reporter: sbadau, Assigned: adw)
References
(Blocks 4 open bugs)
Details
(Whiteboard: [sng])
Attachments
(2 files)
Found in
- Nightly 155.0a1
Affected versions
- Nightly 155.0a1
Tested platforms
- Affected platforms: Windows 11 x64, macOS 26.04, Ubuntu 24.04
Preconditions
- Enable Compact density in about:preferences#appearance.
- Enable the Browser Toolbox by setting devtools.chrome.enabled = true, devtools.debugger.remote-enabled = true
Steps to reproduce
- Inspect the height of the Address bar using the Browser Toolbox.
Expected result
- The Address bar should match the Figma specifications and be reduce to 28px.
Actual result
- The height of the Address Bar is 26 px.
Regression range
- This is not a regression, it was implemented with the compact mode styling done in Bug 2030953.
Additional notes
- The issue is reproducible with both horizontal and vertical tabs.
Updated•1 month ago
|
Comment 1•1 month ago
|
||
Hi :adw, I don't believe our team made codebase changes to the address bar for compact mode. Do you know whether your team's UX specs specify a specific compact UI density height? It does look like Eric Pang from UX on our team did spec 28px height in the overall compact mode spec, but perhaps Eric should talk to your UX partners about how high it should be?
| Assignee | ||
Comment 2•1 month ago
|
||
Thanks, nice catch, the problem is that the compact min height is set to 26px here: https://searchfox.org/firefox-main/rev/9d0c7d75f303b16930388cf1b8ef93d161d72c29/browser/themes/shared/urlbar/variables.css#31
We can take Eric's Figma as truth I think because compact mode isn't covered by Paul's search-specific Figma or (at least that I've seen) the Nova Components Figma.
The only design discussion about compact mode has been on Slack, which I documented in bug 2033583.
Updated•1 month ago
|
| Assignee | ||
Comment 3•1 month ago
|
||
I'm pretty sure this bug is due to the fact that the border in Nova is actually
an outline inside the urlbar rather than a border outside it. The min-height
needs to take the extra 2px into account.
In the Figma, the height of the input is 28px and does seem to include the
border. The border width is 1, so excluding the border the height is 26px.
Comment 4•1 month ago
|
||
OK, that makes sense to me. Thank you for jumping on this!
| Assignee | ||
Updated•1 month ago
|
Updated•26 days ago
|
| Reporter | ||
Comment 7•24 days ago
|
||
Verified as fixed using the latest Nightly 155 on Windows 11, Ubuntu 24.04 and macOS 26 - the URL bar height is increased to 28px.
Description
•