From 4fd5a6298039bb2a7f009280167aff1b9695fc72 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Tue, 8 Jun 2021 23:01:03 +0200 Subject: [PATCH] fix flexbox display of metadata panels --- htdocs/css/openwebrx.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 044d9a4..8beeade 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -987,7 +987,7 @@ img.openwebrx-mirror-img } .openwebrx-meta-slot > * { - flex: 0; + flex: 1 0 auto; flex-basis: 1.2em; line-height: 1.2em; } @@ -1037,14 +1037,16 @@ img.openwebrx-mirror-img } .openwebrx-meta-slot .openwebrx-meta-user-image { - flex: 1; + flex: 0 1 100%; background-position: center; background-repeat: no-repeat; line-height: 0; + overflow: hidden; } .openwebrx-meta-slot .openwebrx-meta-user-image img { - height: 133px; + max-width: 100%; + max-height: 100%; display: none; }