Skip to content

Commit

Permalink
[filigran-ui] small fix table and sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkha committed Oct 7, 2024
1 parent e640204 commit ae51cbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/filigran-ui/src/components/clients/data-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ const DataTableHeadBarOptions = () => {
const pageSize = table.getState().pagination.pageSize
return (
<>
<div className="box-border flex h-9 items-center rounded border border-border-light">
<div className="flex-0 flex-shrink-0 box-border flex h-9 items-center rounded border border-border-light">
<Button
variant="ghost"
size="icon"
Expand Down Expand Up @@ -495,7 +495,7 @@ function GenericDataTable<TData extends {id: string}, TValue>(
onDragEnd={handleDragEnd}
sensors={sensors}>
{/* do not remove twp, the class is used to isolate preflight style */}
<div className="twp pt-xl">
<div className="twp pt-l sm:pt-xl">
<Table style={{width: table.getCenterTotalSize()}}>
<TableHeader>
{table.getHeaderGroups().map((headerGroup) => (
Expand Down
2 changes: 1 addition & 1 deletion packages/filigran-ui/src/components/clients/sheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const SheetContent = React.forwardRef<
ref={ref}
className={cn(sheetVariants({side}), className)}
{...props}>
<div className="max-h-full min-h-full overflow-auto px-xl pt-xl">
<div className="max-h-full h-full min-h-full overflow-auto px-xl pt-xl">
{children}
</div>
<SheetPrimitive.Close asChild>
Expand Down

0 comments on commit ae51cbd

Please sign in to comment.