Skip to content

Commit

Permalink
Fix tooltip never breaking row (#784)
Browse files Browse the repository at this point in the history
- Fixed tooltip never breaking row.
  • Loading branch information
mattias800 committed Sep 13, 2024
1 parent 077483a commit 88fff09
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/tooltip/src/components/tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,7 @@ export const Tooltip: React.FC<TooltipProps> = ({
};

const TooltipText: React.FC<{ label: string }> = ({ label }) => (
<Text
color={cssColor("--lhds-color-ui-50")}
size={"small"}
variant={"bold"}
whiteSpace={"nowrap"}
>
<Text color={cssColor("--lhds-color-ui-50")} size={"small"} variant={"bold"}>
{label}
</Text>
);

0 comments on commit 88fff09

Please sign in to comment.