File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
apps/website/src/components/make-it-yours Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ export default component$(() => {
465
465
466
466
< div >
467
467
< label class = "mb-1 mt-8 block font-medium" > Radius</ label >
468
- < div class = "flex flex-col space-y-2 " >
468
+ < div class = "flex space-x-3 " >
469
469
{ borderRadiusOptions . map ( ( borderRadius ) => {
470
470
const isActive =
471
471
themeComputedObjectSig . value . borderRadius === borderRadius ;
@@ -477,9 +477,13 @@ export default component$(() => {
477
477
themeComputedObjectSig . value . borderRadius = borderRadius ;
478
478
setTheme ( await themeStoreToThemeClasses$ ( ) ) ;
479
479
} }
480
- class = { cn ( isActive && 'border-ring mb-2' ) }
480
+ class = { cn ( 'w-12' , isActive && 'border-ring mb-2' ) }
481
481
>
482
- { borderRadius }
482
+ { borderRadius === 'border-radius-0' && 0 }
483
+ { borderRadius === 'border-radius-dot-25' && '.25' }
484
+ { borderRadius === 'border-radius-dot-50' && '.5' }
485
+ { borderRadius === 'border-radius-dot-75' && '.75' }
486
+ { borderRadius === 'border-radius-1' && 1 }
483
487
</ Button >
484
488
) ;
485
489
} ) }
You can’t perform that action at this time.
0 commit comments