kelvin.yau 1 неделю назад
Родитель
Сommit
2aaca9d37b
1 измененных файлов: 13 добавлений и 12 удалений
  1. +13
    -12
      src/components/DoSearch/ReplenishmentFilterField.tsx

+ 13
- 12
src/components/DoSearch/ReplenishmentFilterField.tsx Просмотреть файл

@@ -222,10 +222,7 @@ export function ReplenishmentTextField(props: ReplenishmentTextFieldProps) {
size="small" size="small"
fullWidth fullWidth
variant="filled" variant="filled"
sx={(theme) => ({
...REPLENISHMENT_TEXTFIELD_SX(theme),
...(typeof sx === "function" ? sx(theme) : sx),
})}
sx={[REPLENISHMENT_TEXTFIELD_SX, sx] as SxProps<Theme>}
InputProps={{ disableUnderline: true, ...InputProps }} InputProps={{ disableUnderline: true, ...InputProps }}
{...rest} {...rest}
/> />
@@ -269,14 +266,18 @@ export function ReplenishmentItemEntryPlainText({
return ( return (
<Box <Box
component="span" component="span"
sx={(theme) => ({
display: "block",
color: theme.palette.text.primary,
wordBreak: "break-word",
minWidth: 0,
minHeight: reserveSpace ? theme.spacing(5) : undefined,
...(typeof sx === "function" ? sx(theme) : sx),
})}
sx={
[
(theme) => ({
display: "block",
color: theme.palette.text.primary,
wordBreak: "break-word",
minWidth: 0,
minHeight: reserveSpace ? theme.spacing(5) : undefined,
}),
sx,
] as SxProps<Theme>
}
> >
{isEmpty ? "\u00A0" : value} {isEmpty ? "\u00A0" : value}
</Box> </Box>


Загрузка…
Отмена
Сохранить