mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-30 11:00:11 +08:00
feat(samples table/gallery): Crop thumbs to square (#2109)
This commit is contained in:
parent
609021b15b
commit
78d94cff1d
@ -91,7 +91,7 @@
|
|||||||
|
|
||||||
img.gr-sample-image,
|
img.gr-sample-image,
|
||||||
video.gr-sample-video {
|
video.gr-sample-video {
|
||||||
@apply object-contain h-20 w-20;
|
@apply object-cover h-20 w-20;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -100,7 +100,7 @@
|
|||||||
|
|
||||||
img.gr-sample-image,
|
img.gr-sample-image,
|
||||||
video.gr-sample-video {
|
video.gr-sample-video {
|
||||||
@apply max-h-20;
|
@apply object-cover max-h-20;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gr-sample-textbox,
|
.gr-sample-textbox,
|
||||||
|
Loading…
Reference in New Issue
Block a user