Files
feishin/src/shared/components/image/image.module.css
T
jeffvli 6368137815 move inView ref to ImageContainer component
- the separate outer component is unneeded and affects the positioning of some components which rely on the ImageContainer's styling
2025-09-06 17:14:30 -07:00

40 lines
616 B
CSS

.image {
width: 100%;
height: 100%;
object-fit: var(--theme-image-fit);
border-radius: var(--theme-radius-md);
}
.loader {
width: 100%;
height: 100%;
}
.image-container {
display: flex;
width: 100%;
max-height: 100%;
aspect-ratio: 1 / 1;
}
.unloader {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
max-height: 100%;
background-color: darken(var(--theme-colors-foreground), 40%);
opacity: 0.3;
}
.skeleton {
width: 100%;
height: 100%;
}
.view-wrapper {
width: 100%;
height: 100%;
}