mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 09:05:47 +08:00
84d4c81a26
This reverts commit 3c59106bac
.
22 lines
349 B
SCSS
22 lines
349 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;
|
|
}
|
|
}
|
|
|
|
.hidden-upload-field {
|
|
visibility: hidden;
|
|
position: absolute;
|
|
}
|