mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
FIX: category logo preview in settings shouldn't render it like a background image
This commit is contained in:
parent
7378077036
commit
5c923fef58
2 changed files with 7 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
imageId=logoImageId
|
imageId=logoImageId
|
||||||
imageUrl=logoImageUrl
|
imageUrl=logoImageUrl
|
||||||
type="category_logo"
|
type="category_logo"
|
||||||
class="no-repeat"}}
|
class="no-repeat contain-image"}}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class='field'>
|
<section class='field'>
|
||||||
|
|
|
@ -8,3 +8,9 @@
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image-uploader.contain-image {
|
||||||
|
.uploaded-image-preview {
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue