Closed
Bug 2055119
Opened 3 months ago
Closed 2 months ago
[Nova] Incorrect margin block of tabs in compact mode
Categories
(Firefox :: Tabbed Browser, defect, P1)
Tracking
()
RESOLVED
FIXED
155 Branch
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: mercichao, Assigned: kcochrane)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-nova])
Attachments
(1 file)
It should be --tab-margin-block:
@media -moz-pref("browser.nova.enabled") {
&[uidensity="compact"] {
--tab-block-margin: 4px;
}
}
| Reporter | ||
Updated•3 months ago
|
Blocks: nova-compact
Updated•3 months ago
|
Whiteboard: [fidefe-nova]
Updated•3 months ago
|
Comment 1•3 months ago
|
||
--tab-block-margin was a local CSS property that we used in tabs.css.
--tab-margin-block is a local design token https://searchfox.org/firefox-main/search?q=--tab-margin-block&path=&case=true®exp=false introduced more recently.
Looks like bug 2030953 used the old --tab-block-margin name for new code. We should use --tab-margin-block and make sure compact mode still looks correct.
| Assignee | ||
Updated•3 months ago
|
Assignee: nobody → kcochrane
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
| Assignee | ||
Updated•3 months ago
|
Assignee: kcochrane → nobody
Status: ASSIGNED → UNCONFIRMED
Ever confirmed: false
| Assignee | ||
Updated•3 months ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Updated•3 months ago
|
Assignee: nobody → kcochrane
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•3 months ago
|
||
| Reporter | ||
Comment 3•2 months ago
|
||
Please note that the gUIDensity.AUTO_COMPACT_REFERENCE_TABSTRIP_HEIGHT also needs to be updated. It should be 28 + 4 * 2 = 36, not 40, which is based on the wrong margin value.
Pushed by kcochrane@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/e0c09cc29cb8
https://hg.mozilla.org/integration/autoland/rev/c1aa2d77fca3
Switch --tab-block-margin to --tab-margin-block in tabs.css r=desktop-theme-reviewers,tabbrowser-reviewers,jswinarton,Itiel
Comment 5•2 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox155:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Updated•2 months ago
|
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in
before you can comment on or make changes to this bug.
Description
•