fix figure width for smaller images

fixes #514

issue reported by @vlvk
This commit is contained in:
panr 2024-12-21 23:33:25 +01:00
parent 8184ad1510
commit 5a8b5208a6
2 changed files with 13 additions and 0 deletions

9
.editorconfig Normal file
View file

@ -0,0 +1,9 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_size = 2
indent_style = space

View file

@ -211,6 +211,10 @@ img {
overflow: hidden;
}
figure {
width: fit-content;
}
figure img,
figure video {
margin-bottom: 0;