fix: Refactor i18n config and fix plugin search box styling issue (#22945)
This commit is contained in:
parent
32df3b68c7
commit
ad472d59e0
70 changed files with 96 additions and 85 deletions
|
|
@ -8,6 +8,7 @@ import { RiAddLine } from '@remixicon/react'
|
|||
type SearchBoxProps = {
|
||||
search: string
|
||||
onSearchChange: (search: string) => void
|
||||
wrapperClassName?: string
|
||||
inputClassName?: string
|
||||
tags: string[]
|
||||
onTagsChange: (tags: string[]) => void
|
||||
|
|
@ -21,6 +22,7 @@ type SearchBoxProps = {
|
|||
const SearchBox = ({
|
||||
search,
|
||||
onSearchChange,
|
||||
wrapperClassName,
|
||||
inputClassName,
|
||||
tags,
|
||||
onTagsChange,
|
||||
|
|
@ -32,7 +34,7 @@ const SearchBox = ({
|
|||
}: SearchBoxProps) => {
|
||||
return (
|
||||
<div
|
||||
className='z-[11] flex items-center'
|
||||
className={cn('z-[11] flex items-center', wrapperClassName)}
|
||||
>
|
||||
<div className={
|
||||
cn('flex items-center',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue