Merge pull request #99 from CartoDB/fix-icon-move

Fix icon move
This commit is contained in:
piensaenpixel 2016-04-20 18:51:10 +02:00
commit 7a68c685a0

View File

@ -88,6 +88,7 @@ Description
@import '../../cdb-variables/colors'; @import '../../cdb-variables/colors';
.CDB-Shape-rectsHandle { .CDB-Shape-rectsHandle {
position: relative;
padding: 1px 0 0; padding: 1px 0 0;
} }
@ -99,13 +100,13 @@ Description
margin-bottom: 2px; margin-bottom: 2px;
&::before { &::before {
left: 5px;
width: 2px; width: 2px;
height: 2px; height: 2px;
} }
&::after { &::after {
width: 2px; width: 2px;
height: 2px; height: 2px;
margin-left: 1px;
} }
} }
} }
@ -118,7 +119,9 @@ Description
margin-bottom: 0; margin-bottom: 0;
} }
&::before { &::before {
display: inline-block; display: block;
position: absolute;
left: 4px;
width: 3px; width: 3px;
height: 3px; height: 3px;
background: $cMainBg; background: $cMainBg;
@ -126,10 +129,11 @@ Description
} }
&::after { &::after {
display: inline-block; display: block;
position: absolute;
left: 9px;
width: 3px; width: 3px;
height: 3px; height: 3px;
margin-left: 2px;
background: $cMainBg; background: $cMainBg;
content: ''; content: '';
} }