Skip to content

Commit

Permalink
Remove inline-flex
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Oct 24, 2024
1 parent 3394eea commit 4c1cc41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,11 @@ const FontsManagerButton = forwardRef<
ComponentProps<typeof NestedInputButton>
>((props, ref) => {
return (
<Flex>
<EnhancedTooltip content="Open Font Manager">
<NestedInputButton {...props} ref={ref} tabIndex={-1}>
<UploadIcon />
</NestedInputButton>
</EnhancedTooltip>
</Flex>
<EnhancedTooltip content="Open Font Manager">
<NestedInputButton {...props} ref={ref} tabIndex={-1}>
<UploadIcon />
</NestedInputButton>
</EnhancedTooltip>
);
});
FontsManagerButton.displayName = "FontsManagerButton";
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const style = css({
...textVariants.unit,
color: theme.colors.foregroundSubtle,
borderRadius: theme.borderRadius[2],
display: "inline-flex",
display: "flex",
alignItems: "center",
justifyContent: "center",
whiteSpace: "pre", // to make nestedSelectButtonUnitless work as expected
Expand Down

0 comments on commit 4c1cc41

Please sign in to comment.