Skip to content

Commit

Permalink
Add logical properties support for float and clear (#12480)
Browse files Browse the repository at this point in the history
  • Loading branch information
datlechin authored and thecrypticace committed Dec 18, 2023
1 parent 4ef9717 commit 9129def
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/corePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand All @@ -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' },
Expand Down

0 comments on commit 9129def

Please sign in to comment.