Skip to content

Update <Checkbox /> styles#291

Open
nmoskaleva wants to merge 1 commit intomasterfrom
fix-checkbox-styles
Open

Update <Checkbox /> styles#291
nmoskaleva wants to merge 1 commit intomasterfrom
fix-checkbox-styles

Conversation

@nmoskaleva
Copy link
Collaborator

@nmoskaleva nmoskaleva commented Feb 12, 2026

Minor CSS fixes to align <Checkbox /> with the design system

(Noticed some issues while implementing the same component in the Dashboard.)

Minor CSS fixes to align <Checkbox /> with the design system
@nmoskaleva nmoskaleva requested a review from jlndk February 12, 2026 08:39
@netlify
Copy link

netlify bot commented Feb 12, 2026

Deploy Preview for criipto-docs ready!

Name Link
🔨 Latest commit dd35299
🔍 Latest deploy log https://app.netlify.com/projects/criipto-docs/deploys/698d91ce3d254500087801eb
😎 Deploy Preview https://deploy-preview-291--criipto-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

<FontAwesomeIcon icon={faExclamationCircle} className="h-4 w-4 text-red-400" />
<FontAwesomeIcon
icon={faExclamationCircle}
className="h-4 w-4 text-red-400 translate-y-[1px]"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason we can't use padding / margin here?

If yes, it would be nice as a comment in the code

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.
For the error icon, adding a 1px padding works just as well.
But I used translate-y-[1px] for the label, and couldn't achieve the same effect there with padding/margin.
So it made sense to do the same here. WDYT @jlndk?

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.

2 participants