Skip to content

Commit

Permalink
fix: set max height for add/replace button (#4085)
Browse files Browse the repository at this point in the history
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
Sets a maxHeight property for add/replace button in playground 
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
  • Loading branch information
andreas-unleash committed Jun 23, 2023
1 parent 72657a6 commit d2a98d0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -266,7 +266,7 @@ export const PlaygroundCodeFieldset: VFC<IPlaygroundCodeFieldsetProps> = ({
variant="outlined"
disabled={!contextField || Boolean(error)}
onClick={onAddField}
sx={{ width: '95px' }}
sx={{ width: '95px', maxHeight: '40px' }}
>
{`${!fieldExist ? 'Add' : 'Replace'} `}
</Button>
Expand Down

0 comments on commit d2a98d0

Please sign in to comment.