From a98dfb5115ff01b098326751e08b02cae370b84b Mon Sep 17 00:00:00 2001 From: piensaenpixel Date: Wed, 20 Apr 2016 18:40:12 +0200 Subject: [PATCH] fix icon move --- src/scss/cdb-components/shapes/move.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/scss/cdb-components/shapes/move.scss b/src/scss/cdb-components/shapes/move.scss index 9d7cf25..9a2d53d 100644 --- a/src/scss/cdb-components/shapes/move.scss +++ b/src/scss/cdb-components/shapes/move.scss @@ -88,6 +88,7 @@ Description @import '../../cdb-variables/colors'; .CDB-Shape-rectsHandle { + position: relative; padding: 1px 0 0; } @@ -101,11 +102,11 @@ Description &::before { width: 2px; height: 2px; + left: 5px; } &::after { width: 2px; height: 2px; - margin-left: 1px; } } } @@ -118,7 +119,9 @@ Description margin-bottom: 0; } &::before { - display: inline-block; + display: block; + position: absolute; + left: 4px; width: 3px; height: 3px; background: $cMainBg; @@ -126,10 +129,11 @@ Description } &::after { - display: inline-block; + display: block; + position: absolute; + left: 9px; width: 3px; height: 3px; - margin-left: 2px; background: $cMainBg; content: ''; }