fix flex layout (#3336)

* fix flex layout

* changelog
This commit is contained in:
pngwn 2023-02-27 17:55:53 +00:00 committed by GitHub
parent 53e4733f2a
commit 126694b70d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# Upcoming Release
## Bug fixes
- Fix bug that cause UI to be vertically centered at all times by [@pngwn](https://github.com/pngwn) in [PR 3336](https://github.com/gradio-app/gradio/pull/3336)
## New Features:
### Dropdown Component Updates

View File

@ -17,7 +17,7 @@
class:embed-container={display}
class:with-info={info}
class="gradio-container gradio-container-{version}"
style={loaded ? "" : `min-height: ${initial_height}`}
style:min-height={loaded ? "initial" : initial_height}
style:flex-grow={!display ? "1" : "auto"}
>
<div class="main">