[CSS] Embedded width didn't conform to note's own properly.

This commit is contained in:
Eliseu Amaro 2021-09-23 17:22:44 +01:00
parent fe77dc0996
commit 321d5b4be8
1 changed files with 6 additions and 1 deletions

View File

@ -285,6 +285,7 @@ hr {
flex-direction: column; flex-direction: column;
padding: var(--unit-size); padding: var(--unit-size);
border: unset; border: unset;
width: max-content;
} }
.h-entry .embed header img { .h-entry .embed header img {
@ -299,6 +300,10 @@ hr {
border-radius: var(--unit-size); border-radius: var(--unit-size);
border: solid 2px var(--bg2); border: solid 2px var(--bg2);
} }
.h-entry *,
.note * {
font-family: var(--main-font);
}
.note-wrapper { .note-wrapper {
width: 100%; width: 100%;
@ -346,7 +351,7 @@ hr {
} }
.note-author { .note-author {
font-size: var(--medium-size); font-size: var(--small-size);
font-weight: bold; font-weight: bold;
display: flex; display: flex;
align-items: center; align-items: center;