fix: screenshot sizes

This commit is contained in:
2024-10-23 00:59:12 +03:00
parent 068cd06017
commit bb36b40204
3 changed files with 4 additions and 4 deletions

View File

@@ -1 +1 @@
b3720f3ac2572fdca396795bb24a2756
0245f6e720b08c65d698b6a896bdaf7a

View File

@@ -25,12 +25,12 @@ export function ScreenshotsCarouselModal({
<DialogContent className="max-w-[calc(100%_-_128px)] max-h-[calc(100%_-_64px)]">
<DialogTitle>Screenshots</DialogTitle>
<Carousel opts={{ startIndex: activeIndex ?? undefined }}>
<CarouselContent className="max-w-full max-h-full">
<CarouselContent className="max-h-full">
{screenshots.map((scr) => (
<CarouselItem key={scr.path} className="flex items-center justify-center">
<ScreenshotImg
screenshot={scr}
className="max-h-[calc(100vh_-_128px)] object-cover mx-auto"
className="max-h-[calc(100vh_-_160px)] object-cover mx-auto"
/>
</CarouselItem>
))}

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://wails.io/schemas/config.v2.json",
"name": "stimvisor",
"name": "StimVisor",
"outputfilename": "stimvisor",
"frontend:install": "pnpm install",
"frontend:build": "pnpm build",