Skip to content

Commit b24549d

Browse files
datlechinthecrypticace
authored andcommitted
Add logical properties support for float and clear (#12480)
1 parent 3faea36 commit b24549d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/corePlugins.js

+4
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,8 @@ export let corePlugins = {
690690

691691
float: ({ addUtilities }) => {
692692
addUtilities({
693+
'.float-start': { float: 'inline-start' },
694+
'.float-end': { float: 'inline-end' },
693695
'.float-right': { float: 'right' },
694696
'.float-left': { float: 'left' },
695697
'.float-none': { float: 'none' },
@@ -698,6 +700,8 @@ export let corePlugins = {
698700

699701
clear: ({ addUtilities }) => {
700702
addUtilities({
703+
'.clear-start': { clear: 'inline-start' },
704+
'.clear-end': { clear: 'inline-end' },
701705
'.clear-left': { clear: 'left' },
702706
'.clear-right': { clear: 'right' },
703707
'.clear-both': { clear: 'both' },

0 commit comments

Comments
 (0)