zotero/scss/mac
Dan Stillman f8ef8e2119
Some checks are pending
CI / Build, Upload (push) Waiting to run
CI / Detect changes (push) Waiting to run
CI / Test () (push) Blocked by required conditions
CI / Test (macOS NFS) (push) Blocked by required conditions
CI / Test (Windows arm64) (push) Blocked by required conditions
CI / Test (Windows x64) (push) Blocked by required conditions
CI / Utilities Tests (push) Waiting to run
Match native pop-up button metrics for menulists on macOS 26+
Firefox has AppKit draw the menulist's capsule and chevron, but it sizes
the box and positions the label itself, using a fixed dropdown border
and the label's CSS margins. On macOS 27 (and probably 26), that left the
label closer to the edges and the chevron than in a native NSPopUpButton.
It also made the box 26.5px tall. Firefox assumes regular pop-up buttons
are 22px tall and only draws them unscaled in boxes up to 2px taller, so
it drew the control at 22px and scaled the image up, enlarging the
capsule and chevron.

Add padding to match native label insets, and trim the label's vertical
margins to keep the box at 24px, so Firefox draws the control unscaled.
The result measures the same as a native NSPopUpButton.
2026-09-28 14:49:08 -04:00
..
components Match native pop-up button metrics for menulists on macOS 26+ 2026-09-28 14:49:08 -04:00
_citationExplorer.scss Adds a Citation Explorer dialog for document integration (#3468) 2025-03-10 22:40:43 -04:00
_createParent.scss Re-implement "Create Parent Dialog" without using React (#5380) 2025-07-15 00:29:54 -04:00
_editable.scss Fix tags box editable font and alignment on Windows and Linux 2019-11-12 02:06:09 -05:00
_helpButton.scss fx153: Hide the Help button label on macOS 2026-08-03 11:48:41 -04:00
_menuBar.scss Add macOS Tahoe menu icons (#5603) 2025-12-18 23:51:36 -05:00
_tabBar.scss Add space in tab bar for dragging window on macOS 2024-07-03 02:25:43 -04:00
_tabbox.scss fx140: Bring tabbox tabs back to the middle 2025-07-30 22:31:10 -04:00
_titleBar.scss Fix window control in RTL (#4348) 2024-07-09 03:56:19 -04:00