Skip to content

Commit

Permalink
fix(css): make space for ToggleGroup (#1397)
Browse files Browse the repository at this point in the history
* fix(css): make space for ToggleGroup

* chore: remove useless flex
  • Loading branch information
dominik-stumpf authored Jul 16, 2024
1 parent eb4dafa commit 03abfc5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/explorer/_components/StickyBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Nav = () => {
<ToggleGroup
type="single"
className="gap-2"
size={isSearchStuck ? "sm" : "lg"}
size={isSearchStuck ? "sm" : "default"}
variant={isNavStuck ? "default" : "mono"}
onValueChange={(value) => value && setActiveSection(value as ActiveSection)}
value={activeSection}
Expand Down Expand Up @@ -70,6 +70,7 @@ const CreateGuildLink = () => {
return (
<Link
href="/create-guild"
aria-label="Create guild"
prefetch={false}
className={buttonVariants({
variant: "ghost",
Expand All @@ -83,7 +84,7 @@ const CreateGuildLink = () => {
})}
>
<Plus />
<span>Create guild</span>
<span className="hidden sm:inline-block">Create guild</span>
</Link>
)
}
Expand Down

0 comments on commit 03abfc5

Please sign in to comment.