pearsonkyle commited on
Commit
a9e6bdc
·
verified ·
1 Parent(s): c8415f6

help me update the search input, make it bigger on mobile

Browse files
Files changed (1) hide show
  1. index.html +26 -14
index.html CHANGED
@@ -139,7 +139,6 @@
139
  max-width: 500px;
140
  margin: 0 auto;
141
  }
142
-
143
  .search-input {
144
  width: 100%;
145
  background: var(--glass-bg-dark);
@@ -155,8 +154,31 @@
155
  z-index: 5;
156
  min-height: 50px;
157
  }
158
-
159
- .search-input::placeholder {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  color: var(--text-muted);
161
  }
162
 
@@ -726,17 +748,7 @@
726
  .header-text {
727
  font-size: 2rem;
728
  }
729
-
730
- .search-input {
731
- padding: 12px 16px 12px 40px;
732
- font-size: 14px;
733
- }
734
-
735
- .search-icon {
736
- left: 12px;
737
- }
738
-
739
- .price-section {
740
  padding: 0.75rem;
741
  }
742
 
 
139
  max-width: 500px;
140
  margin: 0 auto;
141
  }
 
142
  .search-input {
143
  width: 100%;
144
  background: var(--glass-bg-dark);
 
154
  z-index: 5;
155
  min-height: 50px;
156
  }
157
+
158
+ @media (max-width: 768px) {
159
+ .search-input {
160
+ font-size: 18px;
161
+ padding: 20px 24px 20px 56px;
162
+ min-height: 60px;
163
+ }
164
+ .search-icon {
165
+ font-size: 18px;
166
+ left: 20px;
167
+ }
168
+ .search-clear {
169
+ right: 18px;
170
+ font-size: 18px;
171
+ }
172
+ }
173
+
174
+ @media (max-width: 480px) {
175
+ .search-input {
176
+ font-size: 16px;
177
+ padding: 18px 20px 18px 52px;
178
+ min-height: 56px;
179
+ }
180
+ }
181
+ .search-input::placeholder {
182
  color: var(--text-muted);
183
  }
184
 
 
748
  .header-text {
749
  font-size: 2rem;
750
  }
751
+ .price-section {
 
 
 
 
 
 
 
 
 
 
752
  padding: 0.75rem;
753
  }
754