Skip to content

Commit 2fe8038

Browse files
committed
fix: add arrow link top for different sizes
1 parent ee7680e commit 2fe8038

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/components/Link/Link.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ $block: '.#{$ns}link-block';
3434
#{$root}__content {
3535
white-space: normal;
3636
}
37-
38-
& > * {
39-
vertical-align: middle;
40-
}
4137
}
4238

4339
&:hover {
@@ -55,8 +51,7 @@ $block: '.#{$ns}link-block';
5551

5652
&__arrow {
5753
position: relative;
58-
margin-left: 2px;
59-
54+
top: 2px;
6055
transition: transform 0.3s $ease-out-cubic;
6156
transform: rotate(-90deg);
6257
}
@@ -68,6 +63,10 @@ $block: '.#{$ns}link-block';
6863

6964
&_m {
7065
@include text-size(body-2);
66+
67+
#{$root}__arrow {
68+
top: 1px;
69+
}
7170
}
7271

7372
&_s {

0 commit comments

Comments
 (0)