Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(demo): Remove max height of demo config tabs #6324

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

theodab
Copy link
Collaborator

@theodab theodab commented Mar 5, 2024

Each tab in the demo config had a max height of 1000px. That was not a problem previously, but the "streaming" config now has so many config values that it no longer fits into that limit. This PR removes that limit, by instead setting a max-height value of "fit-content".
Unfortunately, doing that seems to break the open/close animation of the tabs, and makes it look kind of bad, so this also removes the animation entirely; it's better to have no animation than an ugly one.

Each tab in the demo config had a max height of 1000px.
That was not a problem previously, but the "streaming" config now has
so many config values that it no longer fits into that limit.
This PR removes that limit, by instead setting a max-height value of
"fit-content".
Unfortunately, doing that seems to break the open/close animation of
the tabs, and makes it look kind of bad, so this also removes the
animation entirely; it's better to have no animation than an ugly one.
@theodab theodab added type: bug Something isn't working correctly component: demo page The issue is in the demo page; does not affect production applications labels Mar 5, 2024
@shaka-bot
Copy link
Collaborator

Incremental code coverage: No instrumented code was changed.

@theodab theodab merged commit 4655271 into shaka-project:main Mar 6, 2024
19 checks passed
@theodab theodab deleted the configLessBranch branch March 6, 2024 09:06
avelad pushed a commit that referenced this pull request Apr 8, 2024
Each tab in the demo config had a max height of 1000px. That was not a problem previously, but the "streaming" config now has so many config values that it no longer fits into that limit. This PR removes that limit, by instead setting a max-height value of "fit-content".
Unfortunately, doing that seems to break the open/close animation of the tabs, and makes it look kind of bad, so this also removes the animation entirely; it's better to have no animation than an ugly one.
avelad pushed a commit that referenced this pull request Apr 8, 2024
Each tab in the demo config had a max height of 1000px. That was not a problem previously, but the "streaming" config now has so many config values that it no longer fits into that limit. This PR removes that limit, by instead setting a max-height value of "fit-content".
Unfortunately, doing that seems to break the open/close animation of the tabs, and makes it look kind of bad, so this also removes the animation entirely; it's better to have no animation than an ugly one.
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label May 5, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators May 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: demo page The issue is in the demo page; does not affect production applications status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants