[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 committed by Hugo Sales
parent d16614982a
commit a6f5c61aef
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

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%;