Spaces:
Runtime error
Runtime error
Update templates/menu.html
Browse files- templates/menu.html +2 -4
templates/menu.html
CHANGED
|
@@ -179,12 +179,11 @@
|
|
| 179 |
justify-content: flex-start;
|
| 180 |
align-items: center;
|
| 181 |
width: 300px; /* Adjust width as needed */
|
| 182 |
-
position: relative; /* Make sure container can position the icon inside */
|
| 183 |
}
|
| 184 |
|
| 185 |
.search-bar-container input {
|
| 186 |
width: 100%;
|
| 187 |
-
padding: 8px
|
| 188 |
font-size: 16px;
|
| 189 |
border-radius: 20px;
|
| 190 |
border: none;
|
|
@@ -192,10 +191,9 @@
|
|
| 192 |
|
| 193 |
.search-icon {
|
| 194 |
position: absolute;
|
| 195 |
-
|
| 196 |
font-size: 20px;
|
| 197 |
color: #888; /* Icon color */
|
| 198 |
-
pointer-events: none; /* Disable clicking on the icon */
|
| 199 |
}
|
| 200 |
|
| 201 |
/* Style for customization sections */
|
|
|
|
| 179 |
justify-content: flex-start;
|
| 180 |
align-items: center;
|
| 181 |
width: 300px; /* Adjust width as needed */
|
|
|
|
| 182 |
}
|
| 183 |
|
| 184 |
.search-bar-container input {
|
| 185 |
width: 100%;
|
| 186 |
+
padding: 8px 10px 8px 30px; /* Add padding on the left side for icon */
|
| 187 |
font-size: 16px;
|
| 188 |
border-radius: 20px;
|
| 189 |
border: none;
|
|
|
|
| 191 |
|
| 192 |
.search-icon {
|
| 193 |
position: absolute;
|
| 194 |
+
left: 10px; /* Position the icon inside the input box */
|
| 195 |
font-size: 20px;
|
| 196 |
color: #888; /* Icon color */
|
|
|
|
| 197 |
}
|
| 198 |
|
| 199 |
/* Style for customization sections */
|