You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying max-width and max-height for images and videos in css, the behavior is inconsistent depending on whether they are in gr.Group or not. It seems when using gr.Group, images and videos are fit to the width, ignoring height.
I don't think they should be cut off when using gr.Group either.
Describe the bug
When specifying max-width and max-height for images and videos in css, the behavior is inconsistent depending on whether they are in gr.Group or not. It seems when using gr.Group, images and videos are fit to the width, ignoring height.
I don't think they should be cut off when using gr.Group either.
Is there an existing issue for this?
Reproduction
https://huggingface.co/spaces/hysts-debug/gradio-issue-1641
Screenshot
The behavior is the same when the width is longer than height.
But the behavior is not the same when the height is longer than width.
Logs
System Info
Severity
annoying
The text was updated successfully, but these errors were encountered: