gallery: fix link overlapping image

This commit is contained in:
ed 2021-07-13 00:14:06 +02:00
parent 578a915884
commit 61414014fe

View file

@ -1179,8 +1179,10 @@ html.light #tree::-webkit-scrollbar {
display: inline-block; display: inline-block;
width: auto; width: auto;
height: auto; height: auto;
max-height: 100%;
max-width: 100%; max-width: 100%;
max-height: 100%;
max-height: calc(100% - 1.4em);
margin-bottom: 1.4em;
vertical-align: middle; vertical-align: middle;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
} }
@ -1189,11 +1191,10 @@ html.light #tree::-webkit-scrollbar {
} }
#baguetteBox-overlay .full-image figcaption { #baguetteBox-overlay .full-image figcaption {
display: block; display: block;
position: absolute; position: fixed;
bottom: 0; bottom: .1em;
width: 100%; width: 100%;
text-align: center; text-align: center;
line-height: 1.8;
white-space: normal; white-space: normal;
color: #ccc; color: #ccc;
} }