From 30a38d3978683868a8f5c6edf80b4b48942597b4 Mon Sep 17 00:00:00 2001 From: david0xd Date: Mon, 6 Jan 2025 13:18:28 +0100 Subject: [PATCH] Ensure that adjacent form elements take up to 50% width --- ui/components/app/snaps/snap-ui-renderer/index.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/components/app/snaps/snap-ui-renderer/index.scss b/ui/components/app/snaps/snap-ui-renderer/index.scss index 1b027890b247..a40d8a8a6a50 100644 --- a/ui/components/app/snaps/snap-ui-renderer/index.scss +++ b/ui/components/app/snaps/snap-ui-renderer/index.scss @@ -84,4 +84,12 @@ max-width: $width-screen-lg-min; } } + + &__form { + .snap-ui-renderer__panel { + .mm-box--display-flex.mm-box--flex-direction-column { + flex: 1 1 50%; // Ensure that adjacent form elements take up to 50% width + } + } + } }