You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using the example from tabs, with cards in the tabs:
https://www.shadcn-svelte.com/docs/components/tabs
The cards always appear very narrow, the same width as when in mobile, even when using large screens. I cannot change the width of the cards at all.
Is there a way to change the width of a card, when on large screens e.g. desktop?
I tried a bunch of things, but none worked, e.g.:
style="max-width: 48rem;" on card, also tried that on tabs.
Beta Was this translation helpful? Give feedback.
All reactions