Skip to content

Commit 7abf9d4

Browse files
committed
(UI) improve image close icon
1 parent 229a052 commit 7abf9d4

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/ChatWindow/Room.vue

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,8 +796,16 @@ textarea {
796796
height: 20px;
797797
width: 20px;
798798
border-radius: 50%;
799-
box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.2),
800-
0 1px 3px 1px rgba(0, 0, 0, 0.12), 0 1px 3px 1px rgba(0, 0, 0, 0.1);
799+
}
800+
801+
&:before {
802+
content: ' ';
803+
position: absolute;
804+
width: 100%;
805+
height: 100%;
806+
background: rgba(0, 0, 0, 0.5);
807+
border-radius: 50%;
808+
z-index: -1;
801809
}
802810
}
803811

0 commit comments

Comments
 (0)