fix(site): fix filter font size (#11028)

This commit is contained in:
Bruno Quaresma
2023-12-04 18:17:43 -03:00
committed by GitHub
parent 185400db11
commit dff53d0787
2 changed files with 40 additions and 1 deletions
@@ -0,0 +1,39 @@
import { OptionItem } from "./filter";
import type { Meta, StoryObj } from "@storybook/react";
const meta: Meta<typeof OptionItem> = {
title: "components/Filter/OptionItem",
component: OptionItem,
decorators: [
(Story) => {
return (
<div style={{ width: "300px" }}>
<Story />
</div>
);
},
],
};
export default meta;
type Story = StoryObj<typeof OptionItem>;
export const Selected: Story = {
args: {
option: {
label: "Success option",
value: "success",
},
isSelected: true,
},
};
export const NotSelected: Story = {
args: {
option: {
label: "Success option",
value: "success",
},
isSelected: false,
},
};
+1 -1
View File
@@ -524,7 +524,7 @@ export const OptionItem: FC<OptionItemProps> = ({
display: "flex",
alignItems: "center",
gap: 16,
fontSize: 4,
fontSize: 14,
overflow: "hidden",
width: "100%",
}}