[THEME] Fix figure width
Better way to fix figure width. Also solve the link width.
This commit is contained in:
parent
49c3cd386b
commit
0d0b4cabbd
1 changed files with 1 additions and 1 deletions
|
@ -504,6 +504,7 @@ a:focus {
|
||||||
.article-body figure {
|
.article-body figure {
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
width: fit-content;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
min-width: calc(50% - 2 * var(--image-margin-side));
|
min-width: calc(50% - 2 * var(--image-margin-side));
|
||||||
}
|
}
|
||||||
|
@ -572,7 +573,6 @@ a:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
border: none;
|
border: none;
|
||||||
width: fit-content;
|
|
||||||
}
|
}
|
||||||
.article-body figure>a>img:hover {
|
.article-body figure>a>img:hover {
|
||||||
box-shadow: 0 0 1em rgba(var(--font-color_rgb), 0.5);
|
box-shadow: 0 0 1em rgba(var(--font-color_rgb), 0.5);
|
||||||
|
|
Loading…
Reference in a new issue