mirror of
https://github.com/acid-info/lsd.git
synced 2025-02-09 15:44:10 +00:00
fix: table header css changes on storybook
This commit is contained in:
parent
4a06c55d67
commit
8336d2acc8
@ -67,7 +67,7 @@ export const Root: Story<TableProps> = ({ type, pages, ...args }) => {
|
||||
|
||||
const toolbar = (
|
||||
<>
|
||||
<Dropdown size="small" label="Label" options={headerOptions} />
|
||||
<Dropdown size="medium" options={headerOptions} />
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
@ -77,7 +77,7 @@ export const Root: Story<TableProps> = ({ type, pages, ...args }) => {
|
||||
>
|
||||
<IconButton
|
||||
onClick={() => setRows((prev: number) => prev + 1)}
|
||||
size="small"
|
||||
size="medium"
|
||||
>
|
||||
<AddIcon color="primary" />
|
||||
</IconButton>
|
||||
@ -85,14 +85,14 @@ export const Root: Story<TableProps> = ({ type, pages, ...args }) => {
|
||||
onClick={() =>
|
||||
setRows((prev: number) => (prev > 1 ? prev - 1 : prev))
|
||||
}
|
||||
size="small"
|
||||
size="medium"
|
||||
>
|
||||
<RemoveIcon color="primary" />
|
||||
</IconButton>
|
||||
<Button
|
||||
size="small"
|
||||
size="medium"
|
||||
style={{
|
||||
height: '28px',
|
||||
height: '32px',
|
||||
background: 'rgb(var(--lsd-border-primary))',
|
||||
color: 'rgb(var(--lsd-icon-secondary))',
|
||||
}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user