Skip to content

Commit

Permalink
fix: pool asset card
Browse files Browse the repository at this point in the history
  • Loading branch information
songwongtp committed Mar 6, 2024
1 parent ed97e2e commit 421f7a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Bug fixes

- [#811](https://github.com/alleslabs/celatone-frontend/pull/811) Fix pool asset cards not full
- [#810](https://github.com/alleslabs/celatone-frontend/pull/810) Incorrect tooltip style on overview
- [#792](https://github.com/alleslabs/celatone-frontend/pull/792) Expedited with network params
- [#791](https://github.com/alleslabs/celatone-frontend/pull/791) Proposal view in json direct to the lcd information
Expand Down
13 changes: 5 additions & 8 deletions src/lib/components/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@ import { CustomIcon } from "./icon";

export const Tooltip = ({
placement = "top",
children,
...tooltipProps
}: TooltipProps) => (
<ChakraTooltip
hasArrow
placement={placement}
arrowSize={8}
shouldWrapChildren
{...tooltipProps}
/>
<ChakraTooltip hasArrow placement={placement} arrowSize={8} {...tooltipProps}>
<span>{children}</span>
</ChakraTooltip>
);

interface TooltipInfoProps extends Omit<TooltipProps, "children"> {
Expand All @@ -24,7 +21,7 @@ export const TooltipInfo = ({
iconVariant = "default",
...tooltipProps
}: TooltipInfoProps) => (
<Tooltip {...tooltipProps} shouldWrapChildren>
<Tooltip {...tooltipProps}>
<CustomIcon
color="gray.600"
name={iconVariant === "solid" ? "info-circle-solid" : "info-circle"}
Expand Down

0 comments on commit 421f7a7

Please sign in to comment.