Commit 560859e9 authored by Haelwenn's avatar Haelwenn

Put a max-size on inlined images

parent 69f0029a
......@@ -5,3 +5,4 @@ Note: This file is to be cleared after each rebase on upstream
Additions
---------
- `build.sh`: Add error reporting+failing
- UI: Limit the inlined-images to a maximum size (400px tall & width of the post)
\ No newline at end of file
......@@ -22,6 +22,12 @@
margin: -3px 0 0;
}
img {
max-width: 100%;
max-height: 400px;
object-fit: contain;
}
p, pre, blockquote {
margin-bottom: 20px;
white-space: pre-wrap;
......
......@@ -669,6 +669,12 @@
margin: -3px 0 0;
}
img {
max-width: 100%;
max-height: 400px;
object-fit: contain;
}
p {
margin-bottom: 20px;
white-space: pre-wrap;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment