diff --git a/internal/templates/pages/list_templ.go b/internal/templates/pages/list_templ.go
index 5f800d5..003bea5 100644
--- a/internal/templates/pages/list_templ.go
+++ b/internal/templates/pages/list_templ.go
@@ -35,7 +35,7 @@ func ListPage() templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
diff --git a/internal/templates/pages/search.templ b/internal/templates/pages/search.templ
index b40f5fd..aab9696 100644
--- a/internal/templates/pages/search.templ
+++ b/internal/templates/pages/search.templ
@@ -48,7 +48,7 @@ templ searchResult(recipe domain.Recipe, odd bool) {
- { recipe.Title } { recipe.Category }
+ { recipe.Title } { recipe.Category }
diff --git a/internal/templates/pages/search_templ.go b/internal/templates/pages/search_templ.go
index fcaf4e0..e2c4bdd 100644
--- a/internal/templates/pages/search_templ.go
+++ b/internal/templates/pages/search_templ.go
@@ -177,14 +177,14 @@ func searchResult(recipe domain.Recipe, odd bool) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, " ")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, " ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
var templ_7745c5c3_Var6 string
templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(recipe.Category)
if templ_7745c5c3_Err != nil {
- return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/templates/pages/search.templ`, Line: 51, Col: 72}
+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/templates/pages/search.templ`, Line: 51, Col: 89}
}
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6))
if templ_7745c5c3_Err != nil {
diff --git a/web/static/css/tailwind.css b/web/static/css/tailwind.css
index 8bd1054..b738e44 100644
--- a/web/static/css/tailwind.css
+++ b/web/static/css/tailwind.css
@@ -28,7 +28,6 @@
--color-gray-600: oklch(44.6% 0.03 256.802);
--color-gray-700: oklch(37.3% 0.034 259.733);
--color-gray-800: oklch(27.8% 0.033 256.848);
- --color-gray-900: oklch(21% 0.034 264.665);
--color-black: #000;
--color-white: #fff;
--spacing: 0.25rem;
@@ -423,6 +422,9 @@
.w-1 {
width: calc(var(--spacing) * 1);
}
+ .w-1\/2 {
+ width: calc(1/2 * 100%);
+ }
.w-1\/3 {
width: calc(1/3 * 100%);
}
@@ -462,9 +464,21 @@
.w-full {
width: 100%;
}
+ .max-w-1 {
+ max-width: calc(var(--spacing) * 1);
+ }
+ .max-w-1\/2 {
+ max-width: calc(1/2 * 100%);
+ }
.max-w-2xl {
max-width: var(--container-2xl);
}
+ .max-w-4 {
+ max-width: calc(var(--spacing) * 4);
+ }
+ .max-w-4\/5 {
+ max-width: calc(4/5 * 100%);
+ }
.flex-shrink {
flex-shrink: 1;
}
@@ -477,6 +491,9 @@
.flex-grow {
flex-grow: 1;
}
+ .flex-grow-0 {
+ flex-grow: 0;
+ }
.border-collapse {
border-collapse: collapse;
}
@@ -701,9 +718,6 @@
--tw-gradient-position: to right in oklab;
background-image: linear-gradient(var(--tw-gradient-stops));
}
- .bg-none {
- background-image: none;
- }
.from-blue-100 {
--tw-gradient-from: var(--color-blue-100);
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
@@ -1219,6 +1233,11 @@
animation: var(--animate-bounce);
}
}
+ .sm\:hidden {
+ @media (width >= 40rem) {
+ display: none;
+ }
+ }
.sm\:w-3\/4 {
@media (width >= 40rem) {
width: calc(3/4 * 100%);
@@ -1274,6 +1293,16 @@
display: none;
}
}
+ .md\:inline {
+ @media (width >= 48rem) {
+ display: inline;
+ }
+ }
+ .md\:inline-block {
+ @media (width >= 48rem) {
+ display: inline-block;
+ }
+ }
.md\:size-12 {
@media (width >= 48rem) {
width: calc(var(--spacing) * 12);
@@ -1323,6 +1352,11 @@
width: calc(2/5 * 100%);
}
}
+ .md\:w-3\/4 {
+ @media (width >= 48rem) {
+ width: calc(3/4 * 100%);
+ }
+ }
.md\:w-32 {
@media (width >= 48rem) {
width: calc(var(--spacing) * 32);