style(ActionSheet): improve text size adjust (#6175)

This commit is contained in:
neverland
2020-04-29 20:12:30 +08:00
committed by GitHub
parent ba67c7bf23
commit 0a3cafcedb
3 changed files with 15 additions and 11 deletions
+3 -6
View File
@@ -8,10 +8,10 @@
&__cancel {
display: block;
width: 100%;
height: @action-sheet-item-height;
padding: 0;
font-size: @action-sheet-item-font-size;
line-height: @action-sheet-item-height;
text-align: center;
line-height: 20px;
background-color: @action-sheet-item-background;
border: none;
cursor: pointer;
@@ -22,8 +22,6 @@
}
&__item {
height: @action-sheet-item-height;
&--loading,
&--disabled {
color: @action-sheet-item-disabled-text-color;
@@ -48,11 +46,10 @@
font-size: @action-sheet-subname-font-size;
}
&__cancel::before {
&__gap {
display: block;
height: @action-sheet-cancel-padding-top;
background-color: @action-sheet-cancel-padding-color;
content: ' ';
}
&__header {