style: avatar-block
This commit is contained in:
parent
befb27a6a6
commit
07186c2325
2 changed files with 6 additions and 2 deletions
|
@ -76,6 +76,7 @@ function createAvatarBlock(mentions, headingText) {
|
|||
clearDiv.style.clear = "both";
|
||||
|
||||
const avatarBlock = document.createElement("div");
|
||||
avatarBlock.className = "avatar-block-wrapper";
|
||||
avatarBlock.append(clearDiv);
|
||||
|
||||
const heading = document.createElement("h3");
|
||||
|
|
|
@ -445,14 +445,17 @@ table.image caption {
|
|||
text-align: center;
|
||||
}
|
||||
margin: 2em 0;
|
||||
max-width: fit-content;
|
||||
|
||||
.avatar-block-wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.avatar-block {
|
||||
display: inline-block;
|
||||
margin-bottom: 1.5em;
|
||||
margin-left: 15px;
|
||||
padding-left: 1.5em;
|
||||
max-width: fit-content;
|
||||
width: calc(100% - 1em);
|
||||
border-left: 3px solid rgba(34, 34, 34, 0.15);
|
||||
|
||||
img {
|
||||
|
|
Loading…
Reference in a new issue