Skip to content

Update <Checkbox /> styles#291

Open
nmoskaleva wants to merge 3 commits intomasterfrom
fix-checkbox-styles
Open

Update <Checkbox /> styles#291
nmoskaleva wants to merge 3 commits 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 495d040
🔍 Latest deploy log https://app.netlify.com/projects/criipto-docs/deploys/699459579ab6e40008d102cf
😎 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.

@nmoskaleva nmoskaleva requested a review from jlndk February 16, 2026 11:42
Comment on lines 104 to 107
<div className="mr-3">
<div className="inline-flex items-start gap-2">
<div
className={cx('leading-4.5 text-md font-medium tracking-normal translate-y-[1px]', {
className={cx('leading-4.5 text-md font-medium tracking-normal pt-[9px]', {
Copy link
Contributor

Choose a reason for hiding this comment

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

Ideally we didn't have to rely on a hardcoded padding for centering

Can you do something like this instead?

Suggested change
<div className="mr-3">
<div className="inline-flex items-start gap-2">
<div
className={cx('leading-4.5 text-md font-medium tracking-normal translate-y-[1px]', {
className={cx('leading-4.5 text-md font-medium tracking-normal pt-[9px]', {
<div className="flex h-full items-center mr-3">
<div className="inline-flex items-start gap-2">
<div
className={cx('leading-4.5 text-md font-medium tracking-normal', {

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@jlndk apparently yes, and it's much nicer 😁 Thank you!
495d040

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