DSatishchandra commited on
Commit
1d0cc1a
·
verified ·
1 Parent(s): ec8a3eb

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +9 -8
templates/menu.html CHANGED
@@ -169,20 +169,21 @@
169
  justify-content: center;
170
  }
171
 
172
- .search-bar-container {
173
- margin-left: auto;
174
- margin-right: auto;
 
 
175
  display: flex;
176
- justify-content: center;
177
- align-items: center; /* Ensures it centers vertically within the container */
178
- width: 80%; /* You can adjust the width as needed */
179
- max-width: 600px; /* Optional: Restrict the max width */
180
  }
181
  .search-bar-container input {
182
  width: 100%;
183
  padding: 8px;
184
  font-size: 16px;
185
- border-radius: 5px;
186
  border: none;
187
  }
188
  /* Style for customization sections */
 
169
  justify-content: center;
170
  }
171
 
172
+ .search-bar-container {
173
+ position: absolute;
174
+ left: 20px; /* Move the search bar to the left */
175
+ top: 50%; /* Vertically center it */
176
+ transform: translateY(-50%); /* Adjust vertical position */
177
  display: flex;
178
+ justify-content: flex-start; /* Align items to the left */
179
+ align-items: center; /* Vertically center */
180
+ width: 300px; /* Adjust width as needed */
 
181
  }
182
  .search-bar-container input {
183
  width: 100%;
184
  padding: 8px;
185
  font-size: 16px;
186
+ border-radius: 20px;
187
  border: none;
188
  }
189
  /* Style for customization sections */