How to set ` USlideover` component width?
Hi everyone!
I’m working with the USlideover component and trying to adjust its width on smaller screens. Specifically, I want the slider to take about 85% of the screen width on mobile devices.
Here’s what I’ve tried so far:
• Setting
• I also tried
I’m working with the USlideover component and trying to adjust its width on smaller screens. Specifically, I want the slider to take about 85% of the screen width on mobile devices.
Here’s what I’ve tried so far:
• Setting
:ui="{ width: 'max-w-xs' }" worked for mobile but made the slider too small on larger screens.• I also tried
:ui="{ width: 'sm:max-w-xs' }", but it didn’t seem to work as expected.
