fix tab layout (#4419)

* fix tab layout

* changelog

* tweak

* format

* changes

* fix

* fix

* fix tab wrapping

* formatting
This commit is contained in:
pngwn 2023-06-09 01:07:04 +09:00 committed by GitHub
parent 3e4871c3d9
commit 25ca014d20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -6,6 +6,7 @@
## Bug Fixes: ## Bug Fixes:
- Ensure Tabs only occupy the space required by [@pngwn](https://github.com/pngwn) in [PR 4419](https://github.com/gradio-app/gradio/pull/4419)
- Ensure components have the correct empty sizes to prevent empty containers from collapsing by [@pngwn](https://github.com/pngwn) in [PR 4447](https://github.com/gradio-app/gradio/pull/4447). - Ensure components have the correct empty sizes to prevent empty containers from collapsing by [@pngwn](https://github.com/pngwn) in [PR 4447](https://github.com/gradio-app/gradio/pull/4447).
- Frontend code no longer crashes when there is a relative URL in an `<a>` element, by [@akx](https://github.com/akx) in [PR 4449](https://github.com/gradio-app/gradio/pull/4449). - Frontend code no longer crashes when there is a relative URL in an `<a>` element, by [@akx](https://github.com/akx) in [PR 4449](https://github.com/gradio-app/gradio/pull/4449).

View File

@ -78,9 +78,7 @@
<style> <style>
.tabs { .tabs {
display: flex;
position: relative; position: relative;
flex-direction: column;
} }
.hide { .hide {
@ -92,7 +90,6 @@
position: relative; position: relative;
flex-wrap: wrap; flex-wrap: wrap;
border-bottom: 1px solid var(--border-color-primary); border-bottom: 1px solid var(--border-color-primary);
white-space: nowrap;
} }
button { button {