diff --git a/frontend/src/App.css b/frontend/src/App.css index 549732a..e9a992d 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -46,15 +46,15 @@ /* buttons */ .primary-button { - @apply bg-blue-300 px-4 py-2 shadow-md rounded-lg hover:bg-blue-400 text-gray-600 + @apply bg-blue-300 px-4 py-2 shadow-md rounded-lg hover:bg-blue-400 text-gray-600 whitespace-nowrap } .default-button{ - @apply bg-gray-300 px-4 py-2 shadow-md rounded-lg hover:bg-gray-400 text-gray-600 + @apply bg-gray-300 px-4 py-2 shadow-md rounded-lg hover:bg-gray-400 whitespace-nowrap text-gray-600 } .dark-button{ - @apply bg-gray-600 text-white rounded px-4 py-2 + @apply bg-gray-600 hover:bg-gray-800 text-white shadow-md rounded px-4 py-2 whitespace-nowrap } /* input field */ @@ -71,9 +71,17 @@ @apply flex gap-4 mt-4; } + .horizontal-input-group{ + @apply flex gap-2 mb-2 items-center; + } + /* lists */ .default-list { - @apply list-disc pl-6 mb-6 + @apply list-disc pl-6 mb-6; + } + + .ingredient-group-card { + @apply py-4 border-b border-gray-400; } } \ No newline at end of file diff --git a/frontend/src/components/IngredientGroupListEditor.tsx b/frontend/src/components/IngredientGroupListEditor.tsx index 889fcc5..bf0da33 100644 --- a/frontend/src/components/IngredientGroupListEditor.tsx +++ b/frontend/src/components/IngredientGroupListEditor.tsx @@ -31,10 +31,11 @@ export function IngredientGroupListEditor({ ingredientGroupList, onChange }: Ing } return (