chore: added z index

close: https://github.com/koreanbots/v2-testing/issues/49
This commit is contained in:
원더 2021-02-09 19:12:47 +09:00
parent ab31eb9c49
commit 276a9174af
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import { useEffect } from 'react'
const Advertisement = (): JSX.Element => {
useEffect(() => window.adsbygoogle.push({}), [])
return <div className={`my-1 mx-auto py-12 w-full text-center text-white ${process.env.NODE_ENV === 'production' ? '' : 'bg-gray-700'}`}>
return <div className={`z-10 my-1 mx-auto py-12 w-full text-center text-white ${process.env.NODE_ENV === 'production' ? '' : 'bg-gray-700'}`}>
{
process.env.NODE_ENV === 'production' ? <ins
className='adsbygoogle mb-5 w-full'

View File

@ -26,7 +26,7 @@ const Search = (): JSX.Element => {
}
return <>
<div className='relative w-full mt-5 text-black bg-white dark:text-gray-100 dark:bg-very-black flex rounded-lg'>
<div className='relative w-full mt-5 text-black bg-white dark:text-gray-100 dark:bg-very-black flex rounded-lg z-30'>
<input maxLength={50} onFocus={() => setHidden(false)} onBlur={() => setHidden(true)} className='bg-transparent flex-grow outline-none border-none shadow border-0 py-3 px-7 pr-20 h-16 text-xl' placeholder='검색...' value={query} onChange={(e)=> {
SearchResults(e.target.value)
}} />