Skip to content

Commit a19063e

Browse files
committed
Fix DSFR CSS to avoir clash with MUI on p
1 parent 243c3ca commit a19063e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/scripts/build/patchCssForMui.ts

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

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

0 commit comments

Comments
 (0)