mirror of
https://github.com/D4M13N-D3V/neroshitron.git
synced 2025-03-14 10:05:04 +00:00
fix: nsfw button
This commit is contained in:
parent
f175b31976
commit
54ec36cebc
@ -93,11 +93,11 @@ const SearchInput = ({ tagsChanged, searchChanged, nsfwChanged }: SearchInputPro
|
|||||||
}}
|
}}
|
||||||
value={selectedTagsInput}
|
value={selectedTagsInput}
|
||||||
primaryColor={"indigo"} />
|
primaryColor={"indigo"} />
|
||||||
<span className="flex items-center rounded rounded-l-none border-0 px-3 font-bold text-grey-100">
|
<span className="flex items-center rounded rounded-l-none border-0 font-bold text-grey-100">
|
||||||
<button
|
<button
|
||||||
onClick={() => { setNsfw(!nsfw) }}
|
onClick={() => { setNsfw(!nsfw) }}
|
||||||
type="button"
|
type="button"
|
||||||
className={`animate-in text-sm text-white font-bold py-1 w-16 px-2 rounded ml-2 ${nsfw ? "bg-error hover:bg-error-light" : "bg-success hover:bg-success-light"}`}
|
className={`animate-in text-sm text-white font-bold h-full w-16 px-2 rounded ${nsfw ? "bg-error hover:bg-error-light" : "bg-success hover:bg-success-light"}`}
|
||||||
|
|
||||||
>
|
>
|
||||||
{nsfw ? "NSFW" : "SFW"}
|
{nsfw ? "NSFW" : "SFW"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user