[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:
parent
31286f5f0b
commit
49c3cd386b
1 changed files with 1 additions and 0 deletions
|
@ -572,6 +572,7 @@ 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