FIX: preserves avatar size inside onebox (#20066)

* UX: Wrap chat one-box avatars

* UX: restrict onebox image css to non-avatar
This commit is contained in:
chapoi 2023-01-30 13:59:25 +01:00 committed by GitHub
parent 79bea9464c
commit d0780eacdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -141,7 +141,7 @@ aside.onebox {
color: var(--tertiary);
}
img {
img:not(.avatar) {
max-height: 170px;
max-width: 20%;
@media all and (max-width: 600px) {

View File

@ -18,6 +18,7 @@
align-items: center;
color: var(--primary-medium);
display: flex;
flex-wrap: wrap;
.avatar {
aspect-ratio: 30 / 30;