File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
<div class =" w-full items-center justify-between" >
6
6
<div class =" w-full flex basis-auto items-center" >
7
7
<div
8
- class =" transition-all duration-300 w-full sm:w-auto mr-auto sm:mr-4 sm:transform-none sm:block"
9
- :class =" { '-translate-x-3/2 hidden': isSearchOpen }"
8
+ class =" transition-all duration-300 mr-auto sm:mr-4 sm:transform-none sm:block overflow-hidden "
9
+ :class =" { 'w-0 sm:w-full': isSearchOpen, 'w-full': ! isSearchOpen }"
10
10
>
11
11
<div class =" relative flex-grow w-full h-11.5 mb-0.5" >
12
12
<div class =" z-10 absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none" >
35
35
</div >
36
36
</div >
37
37
<div
38
- class =" flex flex-row ml-0 md:ml-auto items-center mt-0 text-slate-50 gap-7 md:gap-8"
39
- :class =" [!isSearchOpen ? 'hidden sm:flex' : '']"
38
+ class =" transition-all duration-300 flex flex-1 flex-row ml-0 md:ml-auto items-center mt-0 text-slate-50 gap-7 md:gap-8"
39
+ :class =" [!isSearchOpen ? 'w-0 overflow- hidden sm:flex' : 'w-full ']"
40
40
>
41
41
<div class =" relative inline-block lg:hidden text-white" >
42
42
<div class =" flex items-center" >
Original file line number Diff line number Diff line change 11
11
<a
12
12
v-if =" (isHover && !isPin) || isPin"
13
13
:class =" { 'opacity-0': !isHover && !isPin }"
14
- class =" transition-opacity duration-300 flex opacity-1 p-6 block"
14
+ class =" transition-opacity duration-300 opacity-1 p-6 block"
15
15
href =" #index"
16
16
>
17
17
<img
You can’t perform that action at this time.
0 commit comments