From 76112fd865a3af137dad3e1f3aae2f660f9d83d4 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 15 Oct 2018 12:18:52 +0000 Subject: fix avatar --- juick-server/src/main/assets/style.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'juick-server/src/main') diff --git a/juick-server/src/main/assets/style.css b/juick-server/src/main/assets/style.css index baa2d456..e137c3e5 100644 --- a/juick-server/src/main/assets/style.css +++ b/juick-server/src/main/assets/style.css @@ -267,7 +267,8 @@ body > header { #ctitle img { margin-right: 5px; vertical-align: middle; - width: 48px; + max-width: 48px; + max-height: 48px; } #ustats li { font-size: 10pt; @@ -389,14 +390,14 @@ article .tags > a, } .msg-avatar { float: left; - height: 48px; + max-height: 48px; margin-right: 10px; - width: 48px; + max-width: 48px; } .msg-avatar img { - height: 48px; + max-height: 48px; vertical-align: top; - width: 48px; + max-width: 48px; } .msg-cont { background: #FFF; -- cgit v1.2.3