From 3e25f1ec427ad2f216c82ab1391d7457a4aecc7b Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 4 Oct 2019 00:56:46 +0200 Subject: [PATCH] fix dialog flexbox layout (especially for firefox) --- htdocs/css/openwebrx.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 76f3e32..f58dcd8 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -1015,7 +1015,8 @@ img.openwebrx-mirror-img .openwebrx-dialog label { display: inline-block; - flex: 1 0 20px; + flex-grow: 0; + width: 70px; padding-right: 20px; margin-top: auto; margin-bottom: auto; @@ -1023,7 +1024,7 @@ img.openwebrx-mirror-img .openwebrx-dialog .form-field input, .openwebrx-dialog .form-field select { - flex: 2 0 20px; + flex-grow: 1; height: 27px; }