fix conversations panels shadows

This commit is contained in:
Henry Jameson 2024-03-07 00:37:21 +02:00
parent 6d77bc2bd5
commit 34f23b992e

View File

@ -287,8 +287,23 @@
} }
&.-expanded.status-fadein { &.-expanded.status-fadein {
--___margin: calc(var(--status-margin) / 2);
background: var(--background); background: var(--background);
padding: calc(var(--status-margin) / 2); margin: var(--___margin);
&::before {
z-index: -1;
content: "";
display: block;
position: absolute;
top: calc(var(--___margin) * -1);
bottom: calc(var(--___margin) * -1);
left: calc(var(--___margin) * -1);
right: calc(var(--___margin) * -1);
background: var(--background);
backdrop-filter: var(--__panel-backdrop-filter);
}
} }
} }
</style> </style>