Skip to content

Commit 842c48b

Browse files
authored
fix(noticebar): 适配鸿蒙样式修复 (#3332)
1 parent 6f80776 commit 842c48b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/packages/noticebar/noticebar.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
min-width: $noticebar-left-icon-width;
5252
margin-right: $noticebar-icon-gap;
5353
background-size: 100% 100%;
54+
.nut-icon {
55+
color: $noticebar-color;
56+
}
5457
}
5558

5659
&-right-icon {
@@ -63,12 +66,14 @@
6366
.nut-icon {
6467
width: 12px;
6568
height: 12px;
69+
color: $noticebar-color;
6670
}
6771
}
6872

6973
&-wrap {
7074
display: flex;
7175
flex: 1;
76+
align-items: center;
7277
height: $noticebar-line-height;
7378
line-height: $noticebar-line-height;
7479
overflow: hidden;
@@ -77,6 +82,7 @@
7782
.nut-noticebar-box-wrap-content {
7883
position: absolute;
7984
white-space: nowrap;
85+
color: $noticebar-color;
8086

8187
&.nut-ellipsis {
8288
max-width: 100%;

0 commit comments

Comments
 (0)