Add support for border radius customization on rings #11143
hanna-del-rae
started this conversation in
Ideas
Replies: 3 comments 1 reply
-
Pleased to see your issue as I think I have the same problem, I am also confused and in need of light on this same issue. Need help. |
Beta Was this translation helpful? Give feedback.
0 replies
-
As a workaround you could wrap the button contents in an additional container and style them to look like a pill: https://play.tailwindcss.com/N7rOyuKpTC |
Beta Was this translation helpful? Give feedback.
1 reply
-
For me using 'rounded-none' before whatever border-radius variable you want (i.e. rounded-l-md), solved this for me. |
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.
-
Our team came across a scenario where a the designs required a pill shaped button to maintain a square(ish) focus ring. Since the rings maintain the shape of the buttons by default, we could not use the built-in Tailwind ring for handing our focus states. Would it be possible to add support to give developers control over the border radius of the rings, rather than have to manually add and style a :before pseudo-element in such instances?
Beta Was this translation helpful? Give feedback.
All reactions