From d1b11edb5717e7404b351def2811a74833291cbd Mon Sep 17 00:00:00 2001 From: Ben Lumley Date: Tue, 3 Jan 2023 10:28:17 +0000 Subject: [PATCH] Fix for OSD grid overflowing the preview error due to the invdividual images not shrinking below a fixed width. Fixes #3202 / https://github.com/betaflight/betaflight-configurator/issues/3202 --- src/css/tabs/osd.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/css/tabs/osd.less b/src/css/tabs/osd.less index 190ff78964..37a10ed686 100644 --- a/src/css/tabs/osd.less +++ b/src/css/tabs/osd.less @@ -217,6 +217,8 @@ border: 1px solid transparent; img { flex: 1 1 auto; + max-width: 100%; + height: auto; } } .char[draggable="true"] {