refactor: update Elysia initialization with API prefix and fix API destination in Next.js config
feat: add targetId for Pixiv and Twitter uploads in post routes style: adjust filter container margin and button styles for improved layout
This commit is contained in:
parent
dfe425e033
commit
c6fa45bbc0
4 changed files with 7 additions and 4 deletions
|
|
@ -451,7 +451,7 @@ export default function App() {
|
|||
<Header />
|
||||
<div className="border-b border-border bg-background/85 backdrop-blur px-6 py-2">
|
||||
<div className="flex w-full items-center justify-between overflow-x-auto text-sm text-foreground/70">
|
||||
<div id="filter" className="flex flex-nowrap items-center gap-2 h-6 overflow-x-auto overflow-y-hidden">
|
||||
<div id="filter" className="flex flex-nowrap items-center gap-2 h-6 overflow-x-auto overflow-y-hidden mr-4">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setSelectedTags([])}
|
||||
|
|
@ -464,7 +464,8 @@ export default function App() {
|
|||
key={tag._id}
|
||||
type="button"
|
||||
onClick={() => toggleTag(tag.name)}
|
||||
className={selectedTags.includes(tag.name) ? "text-foreground" : "text-foreground/50"}
|
||||
className={(selectedTags.includes(tag.name) ? "text-foreground" : "text-foreground/50") + " w-fit whitespace-nowrap"}
|
||||
style={{ writingMode: "horizontal-tb" }}
|
||||
>
|
||||
{tag.name}
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue