diff --git a/assets/css/main.css b/assets/css/main.css index 485ee26..508a5f3 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -10,6 +10,8 @@ html, body, #__nuxt { min-height: 100%; + max-width: 100%; + overflow-x: hidden; } body { @@ -21,6 +23,18 @@ body { color: #e4e4e7; } +img, +video, +textarea, +pre { + max-width: 100%; +} + +textarea { + overflow-wrap: anywhere; + word-break: break-word; +} + .font-display { font-family: Syne, 'IBM Plex Sans', sans-serif; } @@ -94,3 +108,8 @@ body { radial-gradient(circle at 50% 55%, rgba(244, 114, 182, 0.16), transparent 55%), #09090b; } + +.library-thumb { + content-visibility: auto; + contain-intrinsic-size: auto 11rem; +} diff --git a/components/ImagePickerModal.vue b/components/ImagePickerModal.vue index 7f79162..15c5719 100644 --- a/components/ImagePickerModal.vue +++ b/components/ImagePickerModal.vue @@ -90,12 +90,14 @@
diff --git a/components/PromptDrawer.vue b/components/PromptDrawer.vue new file mode 100644 index 0000000..f9bc77b --- /dev/null +++ b/components/PromptDrawer.vue @@ -0,0 +1,67 @@ +