Remove Sidebar border-r on sidebar-container #7352
Unanswered
kinglycodes
asked this question in
Q&A
Replies: 1 comment
-
The border comes from the default border-r when side="left" is used. To remove it on mobile, add sm:border-r border-none to override it with Tailwind. If that doesn’t work, use CSS with [data-side="left"] { border-right: none !important; } to force it off. Sometimes you need !important because Radix styles override Tailwind. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks, how can I remove the white 1px border-r on the Sidebar component on mobile? Tried several options with gloabl css, tailwind classes, inline styles. Nothing hides the border if [data-side]="left".
Beta Was this translation helpful? Give feedback.
All reactions