feat(SliderArea): utilize responsive breakpoints for TypographyMenu positioning
This commit is contained in:
@@ -254,7 +254,10 @@ const scaleClass = $derived(
|
|||||||
|
|
||||||
<TypographyMenu
|
<TypographyMenu
|
||||||
class={clsx(
|
class={clsx(
|
||||||
'absolute bottom-4 sm:bottom-5 right-4 sm:left-1/2 sm:right-[unset] sm:-translate-x-1/2 z-50',
|
'absolute z-50',
|
||||||
|
responsive.isMobileOrTablet
|
||||||
|
? 'bottom-4 right-4 -translate-1/2'
|
||||||
|
: 'bottom-5 left-1/2 right-[unset] -translate-x-1/2',
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user