Skip to content
This repository was archived by the owner on Jan 31, 2019. It is now read-only.

Commit d632ed7

Browse files
committed
update chatsetting transition
1 parent aff91c2 commit d632ed7

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/components/Chat/ChatSetting.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@
2020
color:#888;
2121
z-index: -1;
2222
opacity: 0;
23-
display: none;
2423
transition: all .6s cubic-bezier(0.19, 1, 0.22, 1);;
2524

2625
&.open {
27-
display: block;
2826
opacity: 1;
2927
top: 40px;
28+
29+
& span {
30+
width: 18px;
31+
height: 18px;
32+
}
3033
}
3134

3235
& h4 {
@@ -47,12 +50,13 @@
4750

4851
& span {
4952
display: block;
50-
width: 18px;
51-
height: 18px;
53+
width: 0;
54+
height: 0;
5255
background:#ff4400;
5356
border-radius: 2px;
5457
margin: 0 3px 3px 0;
5558
cursor: pointer;
59+
transition: none;
5660
}
5761
}
5862

0 commit comments

Comments
 (0)