[CSS] <figcaption> now has top padding for better legibility, hover now resizes it's element accordingly.

Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
This commit is contained in:
Eliseu Amaro 2021-07-28 15:54:58 +01:00
parent 3cd33fb83a
commit 95f92d34db
1 changed files with 7 additions and 2 deletions

View File

@ -120,8 +120,8 @@ summary:hover > svg,
summary:focus > svg {
border-radius: var(--unit-size);
padding: var(--small-size) !important;
background: var(--white);
fill: var(--bg1);
background: var(--white) !important;
fill: var(--bg1) !important;
transition: all 0.4s ease;
}
@ -257,6 +257,11 @@ html {
padding: var(--small-size);
}
.note-attachments > div figure figcaption {
display: flex;
padding-top: var(--small-size);
}
.note-attachments > div figure img,
.note-attachments > div figure video {
width: 100%;