mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 00:38:49 +01:00
Use box-shadow, border skews the actual dimension
This commit is contained in:
parent
97e214cec7
commit
1bb547e1a3
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
background-color: var(--bg-faded-color);
|
||||
border: 1px solid var(--outline-color);
|
||||
box-shadow: 0 0 0 1px var(--bg-blur-color);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
|
@ -14,4 +14,4 @@
|
|||
height: 100%;
|
||||
object-fit: cover;
|
||||
background-color: var(--img-bg-color);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue