mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
A pane's Save is a `button.primary`, which forms.css themes. The Save inside the Admin Panel edit popups (Edit User, Edit Organization, Edit Team) is an `input[type=submit].primary.wide` in a flex row - and `.wide` never reached it, because the rule for it in forms.css is written as a DESCENDANT selector, `input[type="submit"] .wide`, which an input can never match. So the popups' Save was the same colour but a different, cramped size. Both are listed with the same declarations now - the theme accent, the same padding, weight and states - so they cannot drift apart again, and the popups' Save takes its row, which is what `.wide` was for. Also: a checkbox written as `label > input + text` (Attachments / Limits / Avatars, and the Backup checkboxes) gets the gap between box and words that the .materialCheckBox markup gets from its own layout. Thanks to xet7 !