[editor] fix image max-height

This commit is contained in:
ilya-bkv 2023-05-07 19:11:23 +03:00
parent 4f1cc94168
commit 993debf1da

View File

@ -496,13 +496,23 @@ input[type='checkbox'] {
} }
figure { figure {
margin: 2em 0; display: flex;
} flex-direction: column;
width: fit-content;
gap: 16px;
margin: 2em auto;
figcaption { img {
@include font-size(1.2rem); display: block;
max-height: 90vh;
margin: auto;
}
color: #9fa1a7; figcaption {
@include font-size(1.2rem);
color: #9fa1a7;
}
} }
.view-switcher { .view-switcher {