mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 04:20:07 +02:00
[enhancement]: support using native image aspect ratio
This commit is contained in:
@@ -64,7 +64,7 @@ const ImageContainer = styled(motion.div)<{ height: string }>`
|
||||
const SidebarImage = styled.img`
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-fit: var(--image-fit);
|
||||
background: var(--placeholder-bg);
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user