fix: search box lightmode performance issue

close: https://github.com/koreanbots/v2-testing/issues/51
This commit is contained in:
원더 2021-02-09 19:40:58 +09:00
parent 5bf3ce07a7
commit 06c17b4fb4

View File

@ -35,7 +35,7 @@ const Search = (): JSX.Element => {
</button>
</div>
<div className={`relative ${hidden ? 'hidden' : 'block'}`}>
<div className='absolute rounded shadow-md my-2 pin-t pin-l dark:bg-very-black h-60 md:h-80 overflow-y-scroll w-full'>
<div className='absolute rounded shadow-md my-2 pin-t pin-l text-black bg-white dark:bg-very-black h-60 md:h-80 overflow-y-scroll w-full'>
<ul>
{
data && data.code === 200 && data.data ? data.data.data.length === 0 ? <li className='px-3 py-3.5'> .</li> :