From 76c69f21d81fde3251797c0c85b4c2aff5ace596 Mon Sep 17 00:00:00 2001 From: Nora Kauczor Date: Thu, 21 Nov 2024 21:30:27 +0100 Subject: [PATCH] style vocablist --- frontend/src/App.css | 1 + frontend/src/components/VocabList/VocabList.css | 13 +++++++------ frontend/src/components/VocabList/VocabList.tsx | 5 ++++- .../src/components/VocabListItem/VocabListItem.css | 6 +++--- frontend/src/pages/BacklogPage/BacklogPage.tsx | 2 +- frontend/src/pages/HomePage/HomePage.css | 3 ++- 6 files changed, 18 insertions(+), 12 deletions(-) diff --git a/frontend/src/App.css b/frontend/src/App.css index 4b3fb445..57e940c9 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -1,4 +1,5 @@ #app { + height: 100%; width: 100%; padding: 0; margin: 0; diff --git a/frontend/src/components/VocabList/VocabList.css b/frontend/src/components/VocabList/VocabList.css index ce9a7f8f..0c8bf69d 100644 --- a/frontend/src/components/VocabList/VocabList.css +++ b/frontend/src/components/VocabList/VocabList.css @@ -17,24 +17,25 @@ flex-direction: column; justify-content: space-between; align-content: center; - width: 100%; max-width: 300px; gap: 10px; } -#search-section-input-and-button{ + +#search-section-input-and-button { display: flex; - justify-content: space-between; + /*justify-content: space-between;*/ gap: 10px; - width: 95%; + max-height: 50px; } #input { - margin: 0 0 0 3px; - width: 100%; + margin: 0; border-radius: 0.5rem; + width: 70%; } + #reset-button { margin: 0; } diff --git a/frontend/src/components/VocabList/VocabList.tsx b/frontend/src/components/VocabList/VocabList.tsx index db071902..9383d90f 100644 --- a/frontend/src/components/VocabList/VocabList.tsx +++ b/frontend/src/components/VocabList/VocabList.tsx @@ -69,11 +69,14 @@ export default function VocabList(props: Readonly) { return (
-
+