gab-social/app/javascript/gabsocial/components/zoomable_image/zoomable_image.scss
mgabdev 280dc51d85 Large update for all components
reorganization, linting, updating file imports, consolidation
warning: there will be errors in this commit
todo: update webpack, add missing styles, scss files, consolidate the rest of components within features/*
2019-08-07 01:02:36 -04:00

13 lines
246 B
SCSS

.zoomable-image {
position: relative;
@include flex(center, center);
@include size(100%);
img {
object-fit: contain;
@include size(auto);
@include max-size($media-modal-media-max-width, $media-modal-media-max-height);
}
}