UI tweaks and bugfixes (#10882)

* small tweaks and bugfixes

* spacing

* simplify
This commit is contained in:
Josh Hawkins
2024-04-08 08:35:35 -05:00
committed by GitHub
parent 73c093be43
commit f210c4b6f4
7 changed files with 59 additions and 41 deletions

View File

@@ -235,7 +235,7 @@ function PreviewVideoPlayer({
return (
<div
className={`relative rounded-2xl bg-black overflow-hidden ${onClick ? "cursor-pointer" : ""} ${className ?? ""}`}
className={`relative rounded-2xl w-full flex justify-center bg-black overflow-hidden ${onClick ? "cursor-pointer" : ""} ${className ?? ""}`}
onClick={onClick}
>
<img
@@ -464,7 +464,7 @@ function PreviewFramesPlayer({
return (
<div
className={`relative ${className ?? ""} ${onClick ? "cursor-pointer" : ""}`}
className={`relative w-full flex justify-center ${className ?? ""} ${onClick ? "cursor-pointer" : ""}`}
onClick={onClick}
>
<img