Closed Bug 1904094 Opened 4 months ago Closed 2 months ago

Match experimental select styling with other form components

Categories

(Firefox :: Settings UI, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: mstriemer, Assigned: tgiles)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [recomp])

Attachments

(1 file)

The select styling in the experiments section should match our common form components layout and spacing. See recent moz-checkbox description for spacing tokens

The layout should be as follows:

Label
Description
Select

@jules our API docs list that we should use --space-xxsmall for the --input-space-block token, but it also lists using 4px. The --space-xsmall token is actually our 4px token. Which one should we use?

Flags: needinfo?(jules)
Assignee: nobody → tgiles
Severity: -- → N/A
Status: NEW → ASSIGNED
Priority: -- → P2

Went with adding margin-block-end to achieve the ~4px spacing between
label and select, and between select and description.

Sorry for the delay on this ni? I have been out on PTO and sick :-(

I had been working with Tim on this this week and wanted to comment here to confirm we should use --space-xsmall (~4px) and ignore the API doc. I just tweaked the doc too.

Flags: needinfo?(jules)
Blocks: 1908535
Pushed by tgiles@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/59644f1ab054 Match select element styling in experimental section with other components. r=reusable-components-reviewers,settings-reviewers,desktop-theme-reviewers,dao,hjones,mstriemer
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: