Closed
Bug 1517856
Opened 6 years ago
Closed 3 months ago
Use a variable for defining the content width for preferences
Categories
(Firefox :: Settings UI, enhancement, P3)
Firefox
Settings UI
Tracking
()
RESOLVED
FIXED
134 Branch
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: mstriemer, Assigned: mkennedy)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [recomp])
Attachments
(1 file)
The preferences pane has a width of 664px, this is now being matched in about:addons. This magic number is starting to spread (mostly in about:addons for reasons) so it would be nice to have a variable defined to tracks its use along with derivative values with padding subtracted.
Will file a follow up for about:addons.
https://searchfox.org/mozilla-central/rev/ecf61f8f3904549f5d65a8a511dbd7ea4fd1a51d/browser/themes/shared/incontentprefs/preferences.inc.css#19
Updated•6 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
Updated•11 months ago
|
Blocks: design-tokens
Comment 1•3 months ago
|
||
It looks like there are now four different places where we are either defining a unique variable or hardcoding this value. Jules and I were thinking --page-main-content-width
could be a good token name to handle all of these use cases/cover all of our about:
pages.
Assignee | ||
Updated•3 months ago
|
Assignee: nobody → mkennedy
Assignee | ||
Updated•3 months ago
|
Whiteboard: [recomp]
Updated•3 months ago
|
Assignee | ||
Comment 2•3 months ago
|
||
-
Add new token that builds CSS var
-
Replace instances with new CSS var
Pushed by hjones@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2b6fc3265f48
Use shared CSS var for defining common page-level content widths r=reusable-components-reviewers,extension-reviewers,settings-reviewers,desktop-theme-reviewers,mconley,hjones,robwu
Comment 4•3 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 months ago
status-firefox134:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•