File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed
frontend/viewer/src/lib/components/ui Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 2222 {#snippet children ({ checked })}
2323 <span class =" absolute left-2 flex size-3.5 items-center justify-center" >
2424 {#if checked }
25+ <!-- If not centered, see the change made in radio-group-item.svelte -->
2526 <Icon icon =" i-mdi-circle" class =" size-3 text-current" />
2627 {/if }
2728 </span >
Original file line number Diff line number Diff line change 2222 {#snippet children ({ checked })}
2323 <span class =" absolute left-2 flex size-3.5 items-center justify-center" >
2424 {#if checked }
25+ <!-- If not centered, see the change made in radio-group-item.svelte -->
2526 <Icon icon =" i-mdi-circle" class =" size-2 text-current" />
2627 {/if }
2728 </span >
Original file line number Diff line number Diff line change 2626 {...restProps }
2727 >
2828 {#snippet children ({ checked })}
29- <!--
30- The circle icon is not well centered depending on zoom level.
31- There are multiple potential fixes worth trying in: https://github.com/shadcn-ui/ui/issues/3621
32- -->
33- <div class =" flex items-center justify-center" >
34- {#if checked }
35- <Icon icon =" i-mdi-circle" class =" size-3 text-current" />
36- {/if }
37- </div >
29+ {#if checked }
30+ <Icon icon =" i-mdi-circle" class =" text-current size-full scale-75 origin-center" />
31+ {/if }
3832 {/ snippet }
3933 </RadioGroupPrimitive .Item >
4034{/ snippet }
You can’t perform that action at this time.
0 commit comments