mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 03:09:43 +00:00
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:
parent
79bea9464c
commit
d0780eacdc
@ -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) {
|
||||
|
@ -18,6 +18,7 @@
|
||||
align-items: center;
|
||||
color: var(--primary-medium);
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.avatar {
|
||||
aspect-ratio: 30 / 30;
|
||||
|
Loading…
x
Reference in New Issue
Block a user