From 7c33b50a402e45bf5d66677b45434046ba79446c Mon Sep 17 00:00:00 2001 From: andrzej Date: Mon, 24 Jun 2024 18:50:16 +0200 Subject: [PATCH] misc styling --- src/app/tailwind.css | 32 ++++++++++++++++++++++++++++++ src/app/ui/forms/genresTrigger.tsx | 2 +- src/app/ui/forms/pub.tsx | 1 + src/app/ui/forms/story.tsx | 2 ++ 4 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/app/tailwind.css b/src/app/tailwind.css index 811e9b7..f03e4fd 100644 --- a/src/app/tailwind.css +++ b/src/app/tailwind.css @@ -894,6 +894,22 @@ body { max-height: 100vh; } +.min-h-40 { + min-height: 10rem; +} + +.min-h-6 { + min-height: 1.5rem; +} + +.min-h-8 { + min-height: 2rem; +} + +.min-h-10 { + min-height: 2.5rem; +} + .w-10 { width: 2.5rem; } @@ -1540,6 +1556,22 @@ body { line-height: 1; } +.leading-10 { + line-height: 2.5rem; +} + +.leading-8 { + line-height: 2rem; +} + +.leading-6 { + line-height: 1.5rem; +} + +.leading-5 { + line-height: 1.25rem; +} + .tracking-tight { letter-spacing: -0.025em; } diff --git a/src/app/ui/forms/genresTrigger.tsx b/src/app/ui/forms/genresTrigger.tsx index 3daa5c3..5d96300 100644 --- a/src/app/ui/forms/genresTrigger.tsx +++ b/src/app/ui/forms/genresTrigger.tsx @@ -11,7 +11,7 @@ export default function GenresTrigger({ value, genres }) { diff --git a/src/app/ui/forms/story.tsx b/src/app/ui/forms/story.tsx index 867f91b..947046d 100644 --- a/src/app/ui/forms/story.tsx +++ b/src/app/ui/forms/story.tsx @@ -118,6 +118,7 @@ export default function StoryForm({ genres, createStory, className }: ComponentP }} /> ))} + @@ -140,6 +141,7 @@ export default function StoryForm({ genres, createStory, className }: ComponentP /> +