Skip to content

Commit d966f9d

Browse files
committed
fix: Modifier selection sizing fixes.
1 parent eb1d836 commit d966f9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/behaviors/HidUsagePicker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,15 +173,15 @@ export const HidUsagePicker = ({
173173
</ComboBox>
174174
<CheckboxGroup
175175
aria-label="Implicit Modifiers"
176-
className="grid grid-flow-col gap-x-px auto-cols-fr content-stretch divide-x rounded border border-text-base"
176+
className="grid grid-flow-col gap-x-px auto-cols-[minmax(min-content,1fr)] content-stretch divide-x rounded-md border border-text-base"
177177
value={mods}
178178
onChange={modifiersChanged}
179179
>
180180
{all_mods.map((m) => (
181181
<Checkbox
182182
key={m}
183183
value={m.toLocaleString()}
184-
className="text-nowrap grid content-center justify-center rac-selected:bg-secondary first:rounded-s last:rounded-e hover:text-accent rac-selected:hover:text-accent"
184+
className="text-nowrap grid px-2 content-center justify-center rac-selected:bg-secondary first:rounded-s-md last:rounded-e-md hover:text-accent rac-selected:hover:text-accent"
185185
>
186186
{mod_labels[m]}
187187
</Checkbox>

0 commit comments

Comments
 (0)