From d2a98d03382b321a02b8a5d4a6100ef559ed001e Mon Sep 17 00:00:00 2001 From: andreas-unleash Date: Fri, 23 Jun 2023 15:22:07 +0300 Subject: [PATCH] fix: set max height for add/replace button (#4085) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sets a maxHeight property for add/replace button in playground ## About the changes Closes # ### Important files ## Discussion points Signed-off-by: andreas-unleash --- .../PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/playground/Playground/PlaygroundForm/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx b/frontend/src/component/playground/Playground/PlaygroundForm/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx index bd9c09aed2..875561b3c4 100644 --- a/frontend/src/component/playground/Playground/PlaygroundForm/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx +++ b/frontend/src/component/playground/Playground/PlaygroundForm/PlaygroundCodeFieldset/PlaygroundCodeFieldset.tsx @@ -266,7 +266,7 @@ export const PlaygroundCodeFieldset: VFC = ({ variant="outlined" disabled={!contextField || Boolean(error)} onClick={onAddField} - sx={{ width: '95px' }} + sx={{ width: '95px', maxHeight: '40px' }} > {`${!fieldExist ? 'Add' : 'Replace'} `}