[editor] fix image max-height
This commit is contained in:
parent
4f1cc94168
commit
993debf1da
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user