Skip to content

Commit 0ff6c64

Browse files
committed
Make mobile search box have more height
1 parent 55eef29 commit 0ff6c64

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

components/SVG/SVGMobileSearchIcon.component.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ const SVGMobileSearchIcon = () => {
1515
to: [
1616
{
1717
opacity: isExpanded ? 1 : 0,
18-
marginTop: isExpanded ? '20px' : '-180px',
18+
marginTop: isExpanded ? '100px' : '-180px',
1919
},
2020
],
2121
from: {
2222
opacity: isExpanded ? 1 : 0,
23-
marginTop: isExpanded ? '20px' : '-180px',
23+
marginTop: isExpanded ? '100px' : '-180px',
2424
},
2525
});
2626

styles/index.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
/* Fix Algolia mobile-searchbox design issues */
2727

2828
#mobilesearchdiv {
29-
position: absolute;
29+
position: absolute;
30+
height: 200px;
3031
}
3132

3233
.ais-SearchBox-submit {

0 commit comments

Comments
 (0)