Improve wish details image placeholder
This commit is contained in:
parent
697b382afd
commit
cdf4899863
1 changed files with 6 additions and 1 deletions
|
@ -15,8 +15,10 @@
|
||||||
|
|
||||||
/** Image */
|
/** Image */
|
||||||
.ui.modal.wish-details .wish-image {
|
.ui.modal.wish-details .wish-image {
|
||||||
|
--imageHeight: 40vh;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 40vh;
|
max-height: var(--imageHeight);
|
||||||
}
|
}
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.ui.modal.wish-details .wish-image {
|
.ui.modal.wish-details .wish-image {
|
||||||
|
@ -39,6 +41,9 @@
|
||||||
.ui.modal.wish-details .wish-image .ui.placeholder {
|
.ui.modal.wish-details .wish-image .ui.placeholder {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
.ui.modal.wish-details .wish-image .ui.placeholder .image:not(.header):not(.ui):not(.icon) {
|
||||||
|
height: var(--imageHeight);
|
||||||
|
}
|
||||||
|
|
||||||
/** Description */
|
/** Description */
|
||||||
.ui.modal.wish-details .description.description {
|
.ui.modal.wish-details .description.description {
|
||||||
|
|
Loading…
Reference in a new issue