From d460d9ed725d1c0f47b365ff34f0cb10901496b0 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Fri, 4 Jul 2025 12:32:57 +0300 Subject: [PATCH] Set searchbox at the left side --- frontend/src/App.css | 21 +++++++++++++++++++++ frontend/src/App.jsx | 16 ++++++++++------ 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/frontend/src/App.css b/frontend/src/App.css index 52d4107..6eb349f 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -16,6 +16,14 @@ body { text-align: center; } +/* 馃敼 诪专讻讝 讻讜转专转 */ +.title-wrapper { + width: 100%; + display: flex; + justify-content: center; + margin-bottom: 1rem; +} + .main-title { display: flex; align-items: center; @@ -34,8 +42,19 @@ body { vertical-align: middle; } +/* 馃敼 转讬讘转 讞讬驻讜砖 讘爪讚 砖诪讗诇 */ +.search-wrapper { + width: 100%; + display: flex; + justify-content: flex-start; + max-width: 1200px; + margin-bottom: 2rem; + margin-left: 2rem; +} + .search-input { background: transparent; + margin-bottom: 10px; border: none; border-bottom: 2px solid #2e6dc0; color: white; @@ -55,3 +74,5 @@ body { .search-input:focus { border-bottom: 2px solid #4a90e2; } + +/* (砖讗专 住讙谞讜谞讜转 砖诇讱 讻诪讜 add-button 讜讻讜') */ diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 0abd78d..3df5611 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -98,13 +98,17 @@ function App() { return (
-

- Navix logo - Navix -

- {/* 馃攳 Search Box */} -
+ {/* 馃敼 诇讜讙讜 讜讻讜转专转 讘诪专讻讝 */} +
+

+ Navix logo + Navix +

+
+ + {/* 馃攳 砖讜专转 讞讬驻讜砖 讘爪讚 砖诪讗诇 */} +