[THEME] Fix images size

This commit is contained in:
Gregory Trolliet 2021-02-14 17:59:51 +01:00
parent fa7d97e2cc
commit a6ed4a8228

View file

@ -401,7 +401,6 @@ a:focus {
} }
.article-body img { .article-body img {
max-width: calc(100% - 5em); max-width: calc(100% - 5em);
min-width: calc(100% - 5em);
} }
.article-body h1 { .article-body h1 {
font-size: 2.55rem; font-size: 2.55rem;
@ -504,7 +503,6 @@ a:focus {
/******************* Article Figure *******************/ /******************* Article Figure *******************/
.article-body figure { .article-body figure {
margin: 1em 0; margin: 1em 0;
width: max-content;
max-width: 100%; max-width: 100%;
overflow: visible; overflow: visible;
min-width: calc(50% - 2 * var(--image-margin-side)); min-width: calc(50% - 2 * var(--image-margin-side));