From ce0cc09650aa4fdacdf1ffed4c972b3e56aadc86 Mon Sep 17 00:00:00 2001 From: "Stanislav Lechev [0xAF]" Date: Thu, 9 Nov 2023 04:46:00 +0200 Subject: [PATCH] animate receiver sections expand/colapse --- htdocs/css/openwebrx.css | 6 ++++++ htdocs/index.html | 2 +- htdocs/lib/UI.js | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 11377086..d8b75edf 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -1683,4 +1683,10 @@ img.openwebrx-mirror-img .openwebrx-section { display: block; + overflow-y: hidden; + transition: max-height 0.25s ease-out; + max-height: 15rem; +} +.openwebrx-section.closed { + max-height: 0; } diff --git a/htdocs/index.html b/htdocs/index.html index 8b82dbb3..f4610d90 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -260,7 +260,7 @@
▴ Settings
-