Skip to content

Commit d0f13a2

Browse files
committed
fix dropdown style bug
1 parent 6578898 commit d0f13a2

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/button/docs/style.less

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
margin-right: 8px;
33
margin-bottom: 12px;
44
}
5+
.santd-btn-group {
6+
margin-right: 8px;
7+
}
58
.santd-btn-group > .santd-btn {
69
margin-right: 0;
710
}

src/dropdown/style/index.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,13 @@
200200
}
201201
}
202202

203+
.@{dropdown-prefix-cls}-trigger {
204+
letter-spacing: -3px;
205+
span {
206+
letter-spacing: 0;
207+
}
208+
}
209+
203210
.@{dropdown-prefix-cls}-trigger,
204211
.@{dropdown-prefix-cls}-link {
205212
.@{iconfont-css-prefix}.@{iconfont-css-prefix}-down {

0 commit comments

Comments
 (0)