mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Improved search modal animation
This commit is contained in:
parent
6a8f1bd4dc
commit
6487c00f21
2 changed files with 3 additions and 3 deletions
|
@ -586,7 +586,7 @@ function Search() {
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className='bg-white w-full max-w-[95vw] sm:max-w-lg rounded-lg shadow-xl m-auto relative animate-popup'>
|
<div className='bg-white w-full max-w-[95vw] sm:max-w-lg rounded-lg shadow-xl m-auto relative translate-y-0 animate-popup'>
|
||||||
<SearchBox />
|
<SearchBox />
|
||||||
<SearchResultBox />
|
<SearchResultBox />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -94,8 +94,8 @@ module.exports = {
|
||||||
'9xl': ['12.8rem', '1']
|
'9xl': ['12.8rem', '1']
|
||||||
},
|
},
|
||||||
animation: {
|
animation: {
|
||||||
'popup': 'popup 0.2s ease-in-out',
|
'popup': 'popup 0.15s ease',
|
||||||
'fadein': 'fadein 0.2s'
|
'fadein': 'fadein 0.15s'
|
||||||
},
|
},
|
||||||
keyframes: {
|
keyframes: {
|
||||||
popup: {
|
popup: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue