python-gallery/gallery/themes/default/components/image-view/image.sass
Michał 56c82513ba Fixing inconsistent sass files
Removed useless styling
Fixed date
2023-03-08 13:36:35 +00:00

21 lines
328 B
Sass

.image-container
margin: auto
padding: 0.5rem
width: 100%
height: 100%
display: flex
overflow: hidden
img
margin: auto
padding: 0
width: auto
height: auto
max-width: 100%
max-height: 100%
object-fit: contain
object-position: center