chore: z-index changes

This commit is contained in:
원더 2021-02-09 19:50:07 +09:00
parent 073aeb8650
commit 8d9bcd5a36
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={`z-10 my-1 mx-auto py-12 w-full text-center text-white ${process.env.NODE_ENV === 'production' ? '' : 'bg-gray-700'}`}>
return <div className={`z-0 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 onFocus={() => setHidden(false)} onBlur={() => setTimeout(() => setHidden(true), 80)} className='relative w-full mt-5 text-black bg-white dark:text-gray-100 dark:bg-very-black flex rounded-lg z-30'>
<div onFocus={() => setHidden(false)} onBlur={() => setTimeout(() => setHidden(true), 80)} className='relative w-full mt-5 text-black bg-white dark:text-gray-100 dark:bg-very-black flex rounded-lg z-10'>
<input maxLength={50} 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)
}} />