From ee6241a3b767f87136617b0d5451732ef134d2bd Mon Sep 17 00:00:00 2001 From: Dan Gayle Date: Fri, 26 Jul 2019 16:07:36 -0700 Subject: [PATCH] feat(plugin): Add clear-left, clear-right, clear-both classes Added clear-left, clear-right and clear-both classes to float.js Implements #1050 --- src/plugins/float.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/float.js b/src/plugins/float.js index 009554b07..555c0f211 100644 --- a/src/plugins/float.js +++ b/src/plugins/float.js @@ -5,6 +5,9 @@ export default function() { '.float-right': { float: 'right' }, '.float-left': { float: 'left' }, '.float-none': { float: 'none' }, + '.clear-left': { clear: 'left' }, + '.clear-right': { clear: 'right' }, + '.clear-both': { clear: 'both' }, '.clearfix:after': { content: '""', display: 'table',