Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Table): スクロールバーを常に表示に設定しているときの意図しないpaddingを除去 #1387

Merged
merged 2 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/eleven-items-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@4design/for-ui": patch
---

fix(Table): スクロールバーを常に表示に設定しているときの意図しないpaddingを除去
2 changes: 1 addition & 1 deletion packages/for-ui/src/table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export const Table = <T extends RowData>({

export const TableFrame = forwardRef<HTMLTableElement, JSX.IntrinsicElements['table']>(
({ className, ...props }, ref) => (
<div className={fsx(`border-shade-light-default h-full w-full overflow-scroll rounded border`, className)}>
<div className={fsx(`border-shade-light-default h-full w-full overflow-auto rounded border`, className)}>
<table
className={fsx(`ring-shade-light-default w-full border-separate border-spacing-0 ring-1`)}
ref={ref}
Expand Down