Trudy's picture
Initial commit with proper LFS tracking
5f07a23
raw
history blame contribute delete
309 Bytes
.image-container {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background: #000; /* or #fff for white bars */
}
.canvas-element {
/* This ensures the image maintains its aspect ratio */
object-fit: contain;
max-width: 100%;
max-height: 100%;
}