Make small icon buttons square (32px) instead of 44px wide - #92
Conversation
Combining l-ui-button--icon with l-ui-button--small left the button 44px wide because --small only shrank the height. Add a combined modifier so a small icon button becomes a 32px square, still above the WCAG 2.2 AA 24px target-size minimum. Document the variant in the dummy app buttons page and the skill CSS reference.
ReviewAdds a compound CSS modifier so combining The implementation is correct. The compound selector ✅ Ship |
ReviewAdds a combined CSS modifier to produce a 32px square icon button, and applies it to the panel close button. The implementation is correct: the compound selector carries higher specificity than either single-class rule, so cleanly overrides from WCAG 2.2 AA compliance is retained (32px > 24px minimum). Dummy app docs follow the established heading/description/live-example/modal pattern. ✅ Ship |
Combining l-ui-button--icon with l-ui-button--small left the button 44px wide because --small only shrank the height. Add a combined modifier so a small icon button becomes a 32px square, still above the WCAG 2.2 AA 24px target-size minimum.
Document the variant in the dummy app buttons page and the skill CSS reference.