Skip to content

Commit 4c1cc41

Browse files
committed
Remove inline-flex
1 parent 3394eea commit 4c1cc41

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

apps/builder/app/builder/features/style-panel/controls/font-family/font-family-control.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,11 @@ const FontsManagerButton = forwardRef<
122122
ComponentProps<typeof NestedInputButton>
123123
>((props, ref) => {
124124
return (
125-
<Flex>
126-
<EnhancedTooltip content="Open Font Manager">
127-
<NestedInputButton {...props} ref={ref} tabIndex={-1}>
128-
<UploadIcon />
129-
</NestedInputButton>
130-
</EnhancedTooltip>
131-
</Flex>
125+
<EnhancedTooltip content="Open Font Manager">
126+
<NestedInputButton {...props} ref={ref} tabIndex={-1}>
127+
<UploadIcon />
128+
</NestedInputButton>
129+
</EnhancedTooltip>
132130
);
133131
});
134132
FontsManagerButton.displayName = "FontsManagerButton";

packages/design-system/src/components/nested-input-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const style = css({
1717
...textVariants.unit,
1818
color: theme.colors.foregroundSubtle,
1919
borderRadius: theme.borderRadius[2],
20-
display: "inline-flex",
20+
display: "flex",
2121
alignItems: "center",
2222
justifyContent: "center",
2323
whiteSpace: "pre", // to make nestedSelectButtonUnitless work as expected

0 commit comments

Comments
 (0)