[THEME] Fix figure width

Better way to fix figure width.
Also solve the link width.
This commit is contained in:
Gregory Trolliet 2021-02-26 14:40:05 +01:00
parent 49c3cd386b
commit 0d0b4cabbd
1 changed files with 1 additions and 1 deletions

View File

@ -504,6 +504,7 @@ a:focus {
.article-body figure {
margin: 1em 0;
max-width: 100%;
width: fit-content;
overflow: visible;
min-width: calc(50% - 2 * var(--image-margin-side));
}
@ -572,7 +573,6 @@ a:focus {
outline: none;
min-height: 100%;
border: none;
width: fit-content;
}
.article-body figure>a>img:hover {
box-shadow: 0 0 1em rgba(var(--font-color_rgb), 0.5);