Replies: 1 comment
-
Here's what I mean: |
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.
-
I have a span element that usually contains texts longer than one line, and it has
px-6
, but that padding is only applied to the beginning of the first line and the end of the last line.Apparently we can use
box-decoration-break
to achieve a multiline padding for inline elements:I don't know if there's a policy in adding new css properties to tailwind, maybe they should be all green in caniuse or something. Can we add this @adamwathan please?
Beta Was this translation helpful? Give feedback.
All reactions