Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

chore(MUI):update-inputBase-deprecated-class-names

Aswin Asok1ff5a9c78557
diff --git a/web/apps/legacy/src/pages/index.tsx b/web/apps/legacy/src/pages/index.tsx
index 149bc8f8a0..d3b878183b 100644
--- a/web/apps/legacy/src/pages/index.tsx
+++ b/web/apps/legacy/src/pages/index.tsx
@@ -130,7 +130,7 @@ const textFieldSx: SxProps<Theme> = {
px: 2,
py: "15px",
},
- "& .MuiInputBase-inputMultiline": { py: 0 },
+ "& .MuiInputBase-multiline > .MuiInputBase-input": { py: 0 },
"& .MuiFormHelperText-root": { mx: 0, mt: 0.75 },
};
diff --git a/web/apps/paste/src/features/paste/components/textFieldSx.ts b/web/apps/paste/src/features/paste/components/textFieldSx.ts
index 2369be35ae..f1785b42a3 100644
--- a/web/apps/paste/src/features/paste/components/textFieldSx.ts
+++ b/web/apps/paste/src/features/paste/components/textFieldSx.ts
@@ -36,11 +36,11 @@ export const pasteTextFieldSx = (
fontSize: "1.02rem",
lineHeight: 1.55,
},
- "& .MuiInputBase-inputMultiline": {
+ "& .MuiInputBase-multiline > .MuiInputBase-input": {
padding: "0 !important",
margin: "0 !important",
},
- "& .MuiFilledInput-inputMultiline": {
+ "& .MuiFilledInput-multiline > .MuiFilledInput-input": {
padding: "0 !important",
margin: "0 !important",
},