Skip to content

Unrestricted Open-source alternative to AI video platforms — Free AI image & video generation studio with 600+ models (Flux, Midjourney, Kling, Sora, Veo). No content filters. Self-hosted, MIT licensed.

perf: split studio imports and reserve card dimensions

Anil-matcha69b7fccaa946
diff --git a/packages/studio/tailwind.config.js b/packages/studio/tailwind.config.js
index 7b991329..b9cef5b2 100644
--- a/packages/studio/tailwind.config.js
+++ b/packages/studio/tailwind.config.js
@@ -3,6 +3,16 @@ module.exports = {
content: ["./src/**/*.{js,jsx}"],
theme: {
extend: {
+ // Several studio empty states use these compact card sizes. Keep the
+ // utilities explicit so the image boxes reserve their intended space
+ // before remote thumbnails finish loading.
+ width: {
+ 18: "4.5rem",
+ },
+ height: {
+ 18: "4.5rem",
+ 22: "5.5rem",
+ },
fontFamily: {
sans: ["Inter", "var(--font-inter)", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "sans-serif"],
},