Skip to content

Commit f0065a8

Browse files
committed
Add scroll to bottom and unread indicator
1 parent e0ee4a3 commit f0065a8

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

src/styles/MessageNotification.scss

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,40 @@
1010
font-size: var(--sm-font);
1111
bottom: 10px;
1212
z-index: 101;
13+
14+
&-right {
15+
align-self: flex-end;
16+
}
17+
18+
&-scroll-down {
19+
cursor: pointer;
20+
display: block;
21+
width: 42px;
22+
height: 42px;
23+
background-size: 14px auto;
24+
border-radius: 50%;
25+
background: var(--white);
26+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
27+
28+
&:before {
29+
position: absolute;
30+
top: calc(50% - 8px);
31+
left: calc(50% - 6px);
32+
transform: rotate(-45deg);
33+
display: block;
34+
width: 12px;
35+
height: 12px;
36+
content: "";
37+
border: 2px solid var(--primary-color);
38+
border-width: 0px 0 2px 2px;
39+
}
40+
41+
&-unread-count {
42+
font-size: 10px;
43+
position: relative;
44+
left: 50%;
45+
transform: translateX(-50%);
46+
bottom: 18px;
47+
}
48+
}
1349
}

0 commit comments

Comments
 (0)