UX: adjust onebox styles for chat, title line-height (#25249)

This commit is contained in:
Kris 2024-01-12 18:14:26 -05:00 committed by GitHub
parent 92708f2ff5
commit 731699a7cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 3 deletions

View File

@ -130,6 +130,7 @@ aside.onebox {
h4 {
font-size: var(--font-up-1);
margin: 0 0 10px 0;
line-height: var(--line-height-medium);
}
a[href] {

View File

@ -31,9 +31,18 @@ $max_image_height: 150px;
@container (width < 400px) {
.onebox-body {
&:not(:has(.thumbnail.onebox-avatar)) {
display: flex;
flex-direction: column;
display: flex;
flex-direction: column;
.thumbnail.onebox-avatar {
display: none;
}
.aspect-image {
margin-right: 0;
max-width: 100%;
+ h3 {
margin-top: 0.25rem;
}
}
h3 {