replace box-shadow with filter: drop-shadow to remove artifacts

This commit is contained in:
or-else
2023-02-24 15:39:08 -08:00
parent 1149980a47
commit 4f116ab3e6
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -1833,9 +1833,9 @@ video {
text-align: left;
color: #212121;
border-radius: 0.5rem;
box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.12);
transition: ease-out background-color 0.5s;
transition-delay: 0.3s;
filter: drop-shadow(0.5px 0.5px 0.7px rgb(0,0,0,0.3));
}
.chat-box li.single {
@@ -1918,7 +1918,6 @@ video {
background-color: #c5e1a5;
clip-path: polygon(100% 0, 0 110%, 100% 110%);
-webkit-clip-path: polygon(100% 0, 0 110%, 100% 110%);
box-shadow: 0 1px 0.5px rgb(0 0 0 / 12%);
border-bottom-left-radius: 0.3rem;
-moz-transition: ease-out background-color 0.5s;
transition: ease-out background-color 0.5s;
@@ -1940,7 +1939,6 @@ video {
background-color: #fafafa;
clip-path: polygon(0 0, 100% 110%, 0 110%);
-webkit-clip-path: polygon(0 0, 100% 110%, 0 110%);
box-shadow: 0 1px 0.5px rgb(0 0 0 / 12%);
border-bottom-right-radius: 0.3rem;
-moz-transition: ease-out background-color 0.5s;
transition: ease-out background-color 0.5s;