mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Add logical properties support for float and clear (#12480)
This commit is contained in:
parent
4ef97179cd
commit
9129defd0d
@ -690,6 +690,8 @@ export let corePlugins = {
|
||||
|
||||
float: ({ addUtilities }) => {
|
||||
addUtilities({
|
||||
'.float-start': { float: 'inline-start' },
|
||||
'.float-end': { float: 'inline-end' },
|
||||
'.float-right': { float: 'right' },
|
||||
'.float-left': { float: 'left' },
|
||||
'.float-none': { float: 'none' },
|
||||
@ -698,6 +700,8 @@ export let corePlugins = {
|
||||
|
||||
clear: ({ addUtilities }) => {
|
||||
addUtilities({
|
||||
'.clear-start': { clear: 'inline-start' },
|
||||
'.clear-end': { clear: 'inline-end' },
|
||||
'.clear-left': { clear: 'left' },
|
||||
'.clear-right': { clear: 'right' },
|
||||
'.clear-both': { clear: 'both' },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user