Skip to content

Commit 8a0c202

Browse files
authored
UX: improve appearance of attributed quote when sharing (#665)
1 parent effa6cc commit 8a0c202

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

public/ai-share/share.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,13 +417,30 @@ li, p {
417417
height: auto;
418418
}
419419

420+
aside .title,
420421
blockquote {
421422
background-color: var(--primary-50);
422423
border-left: 6px solid var(--primary-200);
423424
padding: 0.5em 1em;
424425
margin: 1em 0;
425426
}
426427

428+
aside .title + blockquote {
429+
margin-top: 0;
430+
}
431+
432+
aside .title {
433+
margin: 0;
434+
display: flex;
435+
align-items: center;
436+
}
437+
438+
aside .title .avatar {
439+
border-radius: 100%;
440+
margin-right: 0.5em;
441+
}
442+
443+
427444
.lightbox-wrapper .meta svg, .lightbox-wrapper .meta .informations {
428445
display: none;
429446
}

0 commit comments

Comments
 (0)