Skip to content

Commit

Permalink
minor: nowrap the rewards button
Browse files Browse the repository at this point in the history
  • Loading branch information
csansoon committed Oct 1, 2024
1 parent 0025259 commit a8f513d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ export function RewardsButton() {
<Popover.Root>
<Popover.Trigger asChild>
<Button size='small' variant='shiny'>
<Text.H6 color='primary'>Get rewards!</Text.H6>
<Text.H6 color='primary' noWrap ellipsis>
Get rewards!
</Text.H6>
</Button>
</Popover.Trigger>
<Popover.Content
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/layouts/AppLayout/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default function AppHeader({
<header className='px-6 sticky top-0 flex flex-col bg-background-gray border-b border-b-border'>
<div className='py-3 flex flex-row items-center justify-between'>
<Breadcrumb showLogo breadcrumbs={breadcrumbs} />
<div className='flex flex-row items-center gap-x-6'>
<div className='flex flex-row items-center gap-x-6 pl-6'>
<nav className='flex flex-row gap-x-4 items-center'>
<RewardsButton />
<UsageIndicator />
Expand Down

0 comments on commit a8f513d

Please sign in to comment.