File tree 2 files changed +14
-7
lines changed
packages/theme/src/dropdown
2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 26
26
font-size : var (--tv-Dropdown-font-size );
27
27
line-height : var (--tv-Dropdown-line-height );
28
28
29
- span {
30
- display : inline-block ;
31
- }
32
-
33
29
&__trigger {
30
+ display : inline-flex ;
31
+ align-items : center ;
32
+
33
+ .tiny-dropdown__prefix-inner {
34
+ display : inline-flex ;
35
+ align-items : center ;
36
+ margin-right : var (--tv-Dropdown-icon-margin-x );
37
+ }
38
+
34
39
.tiny-dropdown__suffix-inner {
35
- margin-left : var (--tv-Dropdown-icon-margin-left );
40
+ display : inline-flex ;
41
+ align-items : center ;
42
+ margin-left : var (--tv-Dropdown-icon-margin-x );
36
43
37
44
.@{svg-prefix-cls} {
38
45
fill : var (--tv-Dropdown-icon-color-link );
69
76
70
77
/* 按钮组 */
71
78
.@{css-prefix} button-group {
72
- display : block ;
79
+ display : inline-flex ;
73
80
74
81
.@{dropdown-prefix-cls} __title-button {
75
82
padding : var (--tv-Dropdown-title-button-padding );
Original file line number Diff line number Diff line change 15
15
// 触发源的图标尺寸(纯图标按钮)
16
16
--tv-Dropdown-icon-size-only-svg : 24px ;
17
17
// 触发源图标的左侧外边距
18
- --tv-Dropdown-icon-margin-left : var (--tv-space-base , 4px );
18
+ --tv-Dropdown-icon-margin-x : var (--tv-space-base , 4px );
19
19
20
20
// 默认按钮图标颜色
21
21
--tv-Dropdown-icon-color : var (--tv-color-icon , #808080 );
You can’t perform that action at this time.
0 commit comments