1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-22 17:52:30 +01:00

Fix mui inputProps

This commit is contained in:
nimbleghost 2023-05-24 21:08:33 +02:00
parent 951c90763a
commit 9ebeb7f12f
2 changed files with 10 additions and 5 deletions

View file

@ -76,9 +76,11 @@ const EmojiPicker = (props) => {
variant="standard"
fullWidth
sx={{ marginTop: 0, marginBottom: "12px", paddingRight: 2 }}
inputProps={{
role: "searchbox",
"aria-label": t("emoji_picker_search_placeholder"),
InputProps={{
inputProps: {
role: "searchbox",
"aria-label": t("emoji_picker_search_placeholder"),
},
endAdornment: (
<InputAdornment position="end" sx={{ display: search ? "" : "none" }}>
<IconButton size="small" onClick={handleSearchClear} edge="end" aria-label={t("emoji_picker_search_clear")}>

View file

@ -824,8 +824,11 @@ const ExpandingTextField = (props) => {
variant="standard"
sx={{ width: `${textWidth}px`, borderBottom: "none" }}
InputProps={{
style: { fontSize: theme.typography[props.variant].fontSize, paddingBottom: 0, paddingTop: 0 },
"aria-label": props.placeholder,
style: { fontSize: theme.typography[props.variant].fontSize },
inputProps: {
style: { paddingBottom: 0, paddingTop: 0 },
"aria-label": props.placeholder,
},
}}
disabled={props.disabled}
/>