Skip to content

fix: carousel demos mobile layout - overlay nav buttons and use small…#1400

Open
klagrida wants to merge 1 commit intomainfrom
claude/fix-mobile-carousel-oeR3u
Open

fix: carousel demos mobile layout - overlay nav buttons and use small…#1400
klagrida wants to merge 1 commit intomainfrom
claude/fix-mobile-carousel-oeR3u

Conversation

@klagrida
Copy link
Collaborator

… cards

On mobile, carousel prev/next buttons were clipped by overflow-x-clip since they were positioned 48px outside the container (-left-12/-right-12). Now buttons overlay inside the carousel on mobile (left-2/right-2) and restore the outside position on sm+ screens.

Cards carousel demo now uses ScCard with size="sm" for more compact cards.

https://claude.ai/code/session_013UQ9gCXesuUD963okiYocf

… cards

On mobile, carousel prev/next buttons were clipped by overflow-x-clip
since they were positioned 48px outside the container (-left-12/-right-12).
Now buttons overlay inside the carousel on mobile (left-2/right-2) and
restore the outside position on sm+ screens.

Cards carousel demo now uses ScCard with size="sm" for more compact cards.

https://claude.ai/code/session_013UQ9gCXesuUD963okiYocf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants