减淡阴影

pull/1050/head
lyswhut 2022-11-05 15:41:18 +08:00
parent 1105a9f31c
commit 6b2cf5df2f
1 changed files with 3 additions and 3 deletions

View File

@ -130,13 +130,13 @@ onBeforeUnmount(() => {
max-height: 250px; max-height: 250px;
z-index: 10; z-index: 10;
pointer-events: none; pointer-events: none;
filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, .15)); filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, .12));
display: flex; display: flex;
&:before { &:before {
content: " "; content: " ";
position: absolute; position: absolute;
top: -8px; top: -6px;
left: var(--arrow-left); left: var(--arrow-left);
width: 0; width: 0;
height: 0; height: 0;
@ -152,7 +152,7 @@ onBeforeUnmount(() => {
} }
&.top { &.top {
filter: drop-shadow(0px 1px 4px rgba(0, 0, 0, .15)); filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, .12));
transform-origin: 50% 100% 0; transform-origin: 50% 100% 0;
&:before { &:before {