Ensure examples Images displays as expected (#7325)

* Tweak image size

* add changeset

* add changeset

* fix broken story

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
Hannah 2024-02-06 21:02:18 +01:00 committed by GitHub
parent b25e95e164
commit 733ca266bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 4 deletions

View File

@ -0,0 +1,6 @@
---
"@gradio/image": patch
"gradio": patch
---
fix:Ensure examples Images displays as expected

View File

@ -43,8 +43,8 @@
}
.container.gallery {
height: var(--size-20);
max-height: var(--size-20);
width: var(--size-20);
max-width: var(--size-20);
object-fit: cover;
}
</style>

View File

@ -7,8 +7,8 @@
import { allModes } from "../storybook/modes";
export const meta = {
title: "Components/Audio",
component: Audio,
title: "Components/Image Editor",
component: ImageEditor,
parameters: {
chromatic: {
modes: {