Add edge highlight to images

In case if image is transparent and it's actually visible
This commit is contained in:
daudix
2024-07-21 23:22:11 +03:00
parent df1c651124
commit bd4c5bb972
2 changed files with 1 additions and 2 deletions

View File

@ -62,7 +62,6 @@
background-color: var(--fg-muted-1);
width: 100%;
height: 100%;
overflow: hidden;
&:hover {
transform: rotate(10deg) scale(1.1);

View File

@ -2,7 +2,7 @@ img,
video {
display: block;
margin: 1rem auto;
box-shadow: var(--shadow);
box-shadow: var(--edge-highlight), var(--shadow);
border-radius: var(--rounded-corner);
max-width: 100%;