[THEME] Make link only on image size

Don't allow to clic outside of the image to follow link when the image
is smaller than the page.
This commit is contained in:
Gregory Trolliet 2021-02-26 14:26:00 +01:00
parent 31286f5f0b
commit 49c3cd386b
1 changed files with 1 additions and 0 deletions

View File

@ -572,6 +572,7 @@ 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);