mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 22:10:24 +00:00
chore: z-index changes
This commit is contained in:
parent
073aeb8650
commit
8d9bcd5a36
@ -2,7 +2,7 @@ import { useEffect } from 'react'
|
|||||||
|
|
||||||
const Advertisement = (): JSX.Element => {
|
const Advertisement = (): JSX.Element => {
|
||||||
useEffect(() => window.adsbygoogle.push({}), [])
|
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
|
process.env.NODE_ENV === 'production' ? <ins
|
||||||
className='adsbygoogle mb-5 w-full'
|
className='adsbygoogle mb-5 w-full'
|
||||||
|
|||||||
@ -26,7 +26,7 @@ const Search = (): JSX.Element => {
|
|||||||
|
|
||||||
}
|
}
|
||||||
return <>
|
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)=> {
|
<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)
|
SearchResults(e.target.value)
|
||||||
}} />
|
}} />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user