Skip to content

Commit e00f9a9

Browse files
committed
fix: some layout issues in color gutter
1 parent 361196f commit e00f9a9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/styles/Extn-CSSColorPreview.less

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
.ico-cssColorPreview {
55
border: solid 1px rgba(0, 0, 0, 0.2);
66
display: inline-block;
7-
top: .15em;
8-
height:.8em;
9-
width: .8em;
7+
top: .1em;
8+
height:.7em;
9+
width: .7em;
1010
margin-left: .15em;
1111
position: relative;
1212
}
@@ -15,17 +15,17 @@
1515
.ico-multiple-cssColorPreview {
1616
position: relative;
1717
display: inline-block;
18-
top: .15em;
19-
width: .8em;
20-
height:.8em;
18+
top: .1em;
19+
width: .7em;
20+
height:.7em;
2121
margin-left: .15em;
2222
border: solid 1px rgba(0, 0, 0, 0.2);
2323
}
2424

2525
/* For individual color boxes, they will be added inside the main .ico-multiple-cssColorPreview div */
2626
.ico-multiple-cssColorPreview .color-box {
2727
position: absolute;
28-
width: .35em;
29-
height: .35em;
28+
width: .3em;
29+
height: .3em;
3030
box-sizing: border-box;
3131
}

0 commit comments

Comments
 (0)