Skip to content
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v0.42.2

- fix the pagination footer padding its left side 24px; the toolbar now pads it 12px by default and 8px with `size='small'`

## v0.42.1

- fix the sticky head cell of the tables painting `background.default` instead of white; `muiThemeOptions` now overrides `MuiTableCell.stickyHeader` with `neutral[50]`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flipper-ui",
"version": "0.42.1",
"version": "0.42.2",
"author": "NG",
"license": "MIT",
"main": "dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions src/core/data-display/table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const SMALL_SIZE_SX = {
// icon 12px from the edge, the same inset the small cells use
'&& tfoot .MuiTablePagination-toolbar': {
minHeight: '40px',
paddingLeft: '8px',
paddingRight: '8px'
},
// the labels are `p` elements, and their default `1em` margin is what
Expand Down
5 changes: 4 additions & 1 deletion src/core/data-display/table/table-pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ const TablePagination = ({
...style
}}
sx={{
borderBottom: `1px solid ${gray[200]}`
borderBottom: `1px solid ${gray[200]}`,
'&& .MuiTablePagination-toolbar': {
paddingLeft: '12px'
}
}}
slotProps={
footerActions
Expand Down
Loading