From 9482bb2254067c332a15a24a901710ef47bc0fd3 Mon Sep 17 00:00:00 2001 From: Eliseu Amaro Date: Thu, 2 Dec 2021 15:29:46 +0000 Subject: [PATCH] [CSS] Avatar max-height defined --- public/assets/default_theme/css/pages/feeds.css | 5 ++++- public/assets/default_theme/css/widgets/sections.css | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/assets/default_theme/css/pages/feeds.css b/public/assets/default_theme/css/pages/feeds.css index 7372317278..4345334a5f 100644 --- a/public/assets/default_theme/css/pages/feeds.css +++ b/public/assets/default_theme/css/pages/feeds.css @@ -31,7 +31,10 @@ } .note-sidebar .avatar { - width: var(--big); + max-width: 4rem; + max-height: 4rem; + min-width: var(--big); + width: 100%; height: auto; background: unset; margin-bottom: var(--smaller); diff --git a/public/assets/default_theme/css/widgets/sections.css b/public/assets/default_theme/css/widgets/sections.css index 6c1f648b46..50b01e1bd9 100644 --- a/public/assets/default_theme/css/widgets/sections.css +++ b/public/assets/default_theme/css/widgets/sections.css @@ -40,6 +40,7 @@ .profile-avatar { max-width: 4rem; + max-height: 4rem; min-width: var(--big); width: 100%; height: auto;