Skip to content

Conversation

@web-padawan
Copy link
Member

Description

Added !important to the slotted input margin to mitigate the problem that happens e.g. with following CSS:

* {
  margin: 0;
}
Screenshot 2025-11-28 at 17 22 30

This block could also be moved to slotStyles as we do for opacity in #8882 but since wrong margin breaks the clickable area, IMO we can use !important here.

Type of change

  • Bugfix

@web-padawan web-padawan requested a review from jouni November 28, 2025 15:25
@sonarqubecloud
Copy link

@web-padawan web-padawan merged commit 23b4c99 into main Nov 29, 2025
9 checks passed
@web-padawan web-padawan deleted the fix/checkbox-input-margin branch November 29, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants