We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad037ed commit 6accdbeCopy full SHA for 6accdbe
src/tailwind.preset.js
@@ -159,5 +159,14 @@ export default /** @type {Partial<import('tailwindcss').Config>} */ ({
159
// See https://tailwindcss.com/docs/hover-focus-and-other-states#styling-based-on-parent-state
160
addVariant('input-group', '.input-group &');
161
}),
162
+ plugin(({ addUtilities }) => {
163
+ addUtilities({
164
+ // Tailwind v3 does not provide this specific break utility: https://v3.tailwindcss.com/docs/word-break
165
+ // Tailwind v4 does have an equivalent utility that we can eventually adopt https://tailwindcss.com/docs/overflow-wrap#wrapping-anywhere
166
+ '.hyp-wrap-anywhere': {
167
+ 'overflow-wrap': 'anywhere',
168
+ },
169
+ });
170
+ }),
171
],
172
});
0 commit comments