Spaces:
Sleeping
Sleeping
Update templates/menu.html
Browse files- templates/menu.html +12 -1
templates/menu.html
CHANGED
@@ -177,7 +177,7 @@
|
|
177 |
display: flex;
|
178 |
justify-content: flex-start; /* Align items to the left */
|
179 |
align-items: center; /* Vertically center */
|
180 |
-
width:
|
181 |
}
|
182 |
.search-bar-container input {
|
183 |
width: 100%;
|
@@ -186,6 +186,13 @@
|
|
186 |
border-radius: 20px;
|
187 |
border: none;
|
188 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
/* Style for customization sections */
|
190 |
.addon-section {
|
191 |
background-color: #f8f9fa; /* Light gray background */
|
@@ -305,6 +312,10 @@
|
|
305 |
<input type="text" id="searchBar" class="form-control" placeholder="Search items or sections..." onkeyup="filterMenu()">
|
306 |
</div>
|
307 |
</div>
|
|
|
|
|
|
|
|
|
308 |
|
309 |
<!-- Category Filter with Custom Radio Buttons -->
|
310 |
<form method="get" action="/menu" class="text-center mb-4">
|
|
|
177 |
display: flex;
|
178 |
justify-content: flex-start; /* Align items to the left */
|
179 |
align-items: center; /* Vertically center */
|
180 |
+
width: 250px; /* Adjust width as needed */
|
181 |
}
|
182 |
.search-bar-container input {
|
183 |
width: 100%;
|
|
|
186 |
border-radius: 20px;
|
187 |
border: none;
|
188 |
}
|
189 |
+
|
190 |
+
.search-icon {
|
191 |
+
position: absolute;
|
192 |
+
left: 10px; /* Position the icon inside the input box */
|
193 |
+
font-size: 20px;
|
194 |
+
color: #888; /* Icon color */
|
195 |
+
}
|
196 |
/* Style for customization sections */
|
197 |
.addon-section {
|
198 |
background-color: #f8f9fa; /* Light gray background */
|
|
|
312 |
<input type="text" id="searchBar" class="form-control" placeholder="Search items or sections..." onkeyup="filterMenu()">
|
313 |
</div>
|
314 |
</div>
|
315 |
+
<div class="search-bar-container">
|
316 |
+
<input type="text" id="searchBar" class="form-control" placeholder="Search items or sections..." onkeyup="filterMenu()">
|
317 |
+
<i class="bi bi-search search-icon"></i> <!-- Search icon -->
|
318 |
+
</div>
|
319 |
|
320 |
<!-- Category Filter with Custom Radio Buttons -->
|
321 |
<form method="get" action="/menu" class="text-center mb-4">
|