Set searchbox at the left side
This commit is contained in:
parent
62511cbc14
commit
d460d9ed72
@ -16,6 +16,14 @@ body {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 🔹 מרכז כותרת */
|
||||||
|
.title-wrapper {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.main-title {
|
.main-title {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -34,8 +42,19 @@ body {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 🔹 תיבת חיפוש בצד שמאל */
|
||||||
|
.search-wrapper {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-start;
|
||||||
|
max-width: 1200px;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
margin-left: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.search-input {
|
.search-input {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
margin-bottom: 10px;
|
||||||
border: none;
|
border: none;
|
||||||
border-bottom: 2px solid #2e6dc0;
|
border-bottom: 2px solid #2e6dc0;
|
||||||
color: white;
|
color: white;
|
||||||
@ -55,3 +74,5 @@ body {
|
|||||||
.search-input:focus {
|
.search-input:focus {
|
||||||
border-bottom: 2px solid #4a90e2;
|
border-bottom: 2px solid #4a90e2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (שאר סגנונות שלך כמו add-button וכו') */
|
||||||
|
|||||||
@ -98,13 +98,17 @@ function App() {
|
|||||||
return (
|
return (
|
||||||
<div className="App">
|
<div className="App">
|
||||||
<Clock />
|
<Clock />
|
||||||
|
|
||||||
|
{/* 🔹 לוגו וכותרת במרכז */}
|
||||||
|
<div className="title-wrapper">
|
||||||
<h1 className="main-title">
|
<h1 className="main-title">
|
||||||
<img src="/navix-logo.svg" alt="Navix logo" className="navix-logo" />
|
<img src="/navix-logo.svg" alt="Navix logo" className="navix-logo" />
|
||||||
Navix
|
Navix
|
||||||
</h1>
|
</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
{/* 🔍 Search Box */}
|
{/* 🔍 שורת חיפוש בצד שמאל */}
|
||||||
<div style={{ display: 'flex', justifyContent: 'flex-start', marginLeft: '2rem' }}>
|
<div className="search-wrapper">
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Search apps..."
|
placeholder="Search apps..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user