This repository was archived by the owner on Feb 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-13
lines changed Expand file tree Collapse file tree 3 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 1
1
.navigation {
2
- @apply pt-8;
3
-
4
2
& > ul {
5
3
@apply flex;
6
4
Original file line number Diff line number Diff line change @@ -18,16 +18,14 @@ export default function Header() {
18
18
const { menus} = useContext ( MenuContext )
19
19
return (
20
20
< header className = { styles . header } >
21
- < div className = "container flex items-center justify-end" >
22
- < div className = "relative pb-16" >
23
- < AlgoliaSearch
24
- useHistory = { true }
25
- usePlaceholder = { true }
26
- className = "ml-auto"
27
- />
28
- </ div >
21
+ < div className = { styles . search } >
22
+ < AlgoliaSearch
23
+ useHistory = { true }
24
+ usePlaceholder = { true }
25
+ className = "ml-auto"
26
+ />
29
27
</ div >
30
- < div className = "container px-4 lg:px-0 flex items-center justify-between" >
28
+ < div className = { styles . navigation } >
31
29
< Logo />
32
30
< Navigation
33
31
menu = { menus ?. primary_menu }
Original file line number Diff line number Diff line change 1
1
.header {
2
- @apply sticky top-0 py-20 transition-all z-50 border-b shadow;
2
+ @apply sticky top-0 py-8 transition-all z-50 border-b shadow bg-gray-100 ;
3
3
4
- background-color : # f7f7f7 ;
4
+ & .search {
5
+ @apply container mb-8;
6
+ }
7
+
8
+ & .navigation {
9
+ @apply container px-4 lg:px-0 flex items-center justify-between;
10
+ }
5
11
}
You can’t perform that action at this time.
0 commit comments