Skip to content

Commit a2034bf

Browse files
committed
Fixes #14
1 parent c6253ad commit a2034bf

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/mui.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,14 @@ function createMuiDsfrTheme(params: { isDark: boolean }): MuiTheme {
179179
}
180180
}
181181
},
182+
"MuiTablePagination": {
183+
"styleOverrides": {
184+
"displayedRows": {
185+
//Fixes: https://user-images.githubusercontent.com/6702424/206063347-65e7d13c-3dea-410c-a0e0-51cf214deba0.png
186+
"margin": "unset"
187+
}
188+
}
189+
},
182190
...(() => {
183191
const nonTypedMuiComponents = {
184192
"MuiDataGrid": {

src/scripts/build/patchCssForMui.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ export function patchCssForMui(params: { rawDsfrCssCode: string }) {
2323
if (selector === "[href]") {
2424
return selectorNotMui;
2525
}
26-
27-
if (selector === "p") {
28-
return selectorNotMui;
29-
}
3026
}
3127

3228
if (media === "(hover: hover) and (pointer: fine)") {

0 commit comments

Comments
 (0)