Skip to content

Commit 543057f

Browse files
committed
feat(message-input-reply-card): redesign component
1 parent 29ed766 commit 543057f

File tree

1 file changed

+27
-13
lines changed

1 file changed

+27
-13
lines changed

src/components/reply-card/styles.scss

+27-13
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,49 @@
11
@use '~@zero-tech/zui/styles/theme' as theme;
2-
@use '../../shared-components/theme-engine/theme' as themeDeprecated;
3-
@use '../../modules/animation' as animation;
4-
5-
@import '../../variables';
6-
@import '../../animation';
72
@import '../../glass';
83

94
.reply-card {
10-
box-sizing: border-box;
115
display: flex;
126
align-items: center;
137
gap: 16px;
14-
padding: 8px 8px 8px 16px;
8+
padding: 0px 8px 0px 16px;
159
border-radius: 4px;
10+
background: theme.$color-greyscale-transparency-2;
11+
color: theme.$color-greyscale-11;
12+
box-sizing: border-box;
1613

17-
font-weight: 400;
18-
font-size: 12px;
19-
font-style: normal;
20-
line-height: 15px;
14+
height: 56px;
2115

22-
@include glass-text-secondary-color;
2316
@include glass-state-active-stroke;
2417

2518
&__content {
19+
display: flex;
20+
flex-direction: column;
2621
flex-grow: 1;
2722
overflow: hidden;
2823
white-space: nowrap;
24+
gap: 4px;
2925
}
3026

3127
&__header {
32-
margin-bottom: 4px;
28+
height: 15px;
29+
30+
font-weight: 600;
31+
font-size: 12px;
32+
line-height: 15px;
33+
color: theme.$color-greyscale-12;
34+
35+
overflow: hidden;
36+
text-overflow: ellipsis;
37+
white-space: nowrap;
38+
}
39+
40+
&__message {
41+
height: 15px;
42+
43+
font-weight: 400;
44+
font-size: 12px;
45+
line-height: 15px;
46+
color: theme.$color-greyscale-11;
3347
}
3448

3549
&__media {

0 commit comments

Comments
 (0)