Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/devtools-ui-kit/src/unocss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export function unocssPreset(): Preset {
// checkbox
'n-checkbox': 'inline-flex gap-1 items-center rounded',
'n-checkbox-hover': 'op100 n-bg-hover cursor-pointer',
'n-checkbox-box': 'border n-border-base w-1.1em h-1.1em mr-1 text-white flex flex-none items-center rounded-sm overflow-visible',
'n-checkbox-box': 'border n-border-base w-1.1em h-1.1em mr-1 ml-2 text-white flex flex-none items-center rounded-sm overflow-visible',
Copy link
Member

Choose a reason for hiding this comment

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

Why it's 2? Maybe we should fix on the usage side?

Copy link
Contributor Author

@elonehoo elonehoo Oct 31, 2025

Choose a reason for hiding this comment

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

gap is 1 and margin-right is 1, so margin-left in 2

sorry, let i think of other idea

Copy link
Contributor Author

Choose a reason for hiding this comment

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

mabye i think this only idea

'n-checkbox-box-checked': 'bg-context border-context',
'n-checkbox-icon': 'carbon-checkmark w-1em h-1em m-auto',

Expand Down