Skip to content

Commit 0d90712

Browse files
Merge pull request #49 from CastleCSS/develop
1.0.12
2 parents 13fcae9 + 2362159 commit 0d90712

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

sass/component/label.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
top: 50%;
2424
transform: translateY(-50%);
2525
z-index: 2;
26+
pointer-events: none;
2627
}
2728

2829
%label-active-static {

sass/component/select.scss

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727

2828
~ .select-arrow {
2929
&:after {
30-
margin-left: -3px;
31-
transform: rotate(-90deg);
30+
transform: rotate(90deg) scaleX(-1);
3231
}
3332
}
3433
}
@@ -50,20 +49,18 @@
5049
}
5150

5251
.select-arrow {
53-
position: absolute; top: 50%; right: 0;
52+
position: absolute; top: 0; right: 0;
5453
width: $input-height; height: $input-height;
55-
transform: translateY(-50%);
5654
transition: $input-transition;
55+
line-height: $input-height;
56+
text-align: center;
5757
pointer-events: none;
5858

5959
&:after {
6060
content: $select-arrow;
61-
box-sizing: border-box;
6261
display: block;
6362
width: $input-height; height: $input-height;
64-
line-height: $input-height;
65-
text-align: center;
66-
transform: rotate(90deg);
63+
transform: rotate(90deg) scaleX(1);
6764
transform-origin: center;
6865
}
6966
}

0 commit comments

Comments
 (0)