discourse/app/assets/stylesheets/common/base/upload.scss

17 lines
279 B
SCSS

.uploaded-image-preview {
background: $primary center;
background-size: cover;
}
.image-uploader.no-repeat {
.uploaded-image-preview {
background-repeat: no-repeat;
}
}
.image-uploader.contain-image {
.uploaded-image-preview {
background-size: contain;
}
}