style(MobileSlider): adjust dot indicator styles and translation
This commit is contained in:
parent
86b0b3cbe3
commit
3e4201cb98
1 changed files with 2 additions and 2 deletions
|
|
@ -139,9 +139,9 @@ export default function MobileSlider({
|
|||
style={{ width: slideCount > MAX_DOTS ? "5.75rem" : "auto" }}
|
||||
>
|
||||
<div
|
||||
className="flex items-center gap-2 transition-transform duration-300 ease-out"
|
||||
className="flex items-center h-5 px-1 gap-2 transition-transform duration-300 ease-out"
|
||||
style={{
|
||||
transform: `translateX(-${translateIndex * 1.25}rem)`,
|
||||
transform: `translateX(-${translateIndex * 1.3}rem)`,
|
||||
}}
|
||||
>
|
||||
{slideIndexes.map((i) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue