Skip to content

Commit c8cb33e

Browse files
committed
Testing mobile search layout
1 parent 451626a commit c8cb33e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

components/SVG/SVGMobileSearchIcon.component.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ const SVGMobileSearchIcon = () => {
4444
{isExpanded && (
4545
<animated.div
4646
style={mobileSearchSlideDownAnimation}
47-
className="absolute right-0 z-50 w-full p-4 text-black bg-white"
47+
className="right-0 z-50 w-full p-4 text-black bg-white"
48+
id="mobilesearchdiv"
4849
>
4950
<div id="closeXsearch" className="mt-2 ml-64 cursor-pointer">
5051
<SVGCloseX setisExpanded={setisExpanded} />

styles/index.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525

2626
/* Fix Algolia mobile-searchbox design issues */
2727

28+
#mobilesearchdiv {
29+
30+
margin-top: -70px !important;
31+
margin-left: -55px;
32+
33+
}
34+
2835
.ais-SearchBox-submit {
2936
width: 48px;
3037
}

0 commit comments

Comments
 (0)