Skip to content

Commit

Permalink
feat(permit): update gas-free flag tooltip (#3332)
Browse files Browse the repository at this point in the history
* feat(permit): update gas-free flag tooltip

* chore: make tooltip width a tiny bit longer to fit the msg without wrapping
  • Loading branch information
alfetopito authored Nov 3, 2023
1 parent cbc1521 commit 4caf929
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const TOKEN_TAGS: Record<Tags, TagInfo> = {
[Tags.GAS_FREE]: {
name: 'Gas-free approval',
icon: ICON_GAS_FREE,
description: 'This token can be approved without spending gas, using the token Permit.',
description: 'This token supports gas-free approvals. Enjoy! 🐮',
id: '1',
},
}
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/src/pure/Tooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import styled from 'styled-components'
import Popover, { PopoverProps } from '../Popover'

export const TooltipContainer = styled.div`
max-width: 300px;
max-width: 320px;
padding: 4px 6px;
font-weight: 400;
word-break: break-word;
Expand Down

0 comments on commit 4caf929

Please sign in to comment.