непомещаемое содержимое выпадашки прячется

This commit is contained in:
Tamara 2024-01-09 18:36:48 +03:00
parent 2e7e61ec2a
commit 8d10f403fc
2 changed files with 8 additions and 3 deletions

@ -18,7 +18,7 @@ const QID =
process.env.NODE_ENV === "production" ? process.env.NODE_ENV === "production" ?
window.location.pathname.replace(/\//g, '') window.location.pathname.replace(/\//g, '')
: :
"a6e62fb7-370a-48ae-a504-8a8d0832d89c" "9fafc6c9-6ccf-42b6-b400-0ee9f5f0fa16"
export const ViewPage = () => { export const ViewPage = () => {

@ -112,10 +112,14 @@ export const Select = ({
inputProps={{ inputProps={{
sx: { sx: {
color: colorMain, color: colorMain,
display: "flex", display: "block",
alignItems: "center",
px: "9px", px: "9px",
gap: "20px", gap: "20px",
"& .MuiTypography-root": {
overflow: "hidden",
textOverflow: "ellipsis",
}
}, },
}} }}
IconComponent={(props) => <ArrowDown {...props} />} IconComponent={(props) => <ArrowDown {...props} />}
@ -131,6 +135,7 @@ export const Select = ({
padding: "10px", padding: "10px",
borderRadius: "5px", borderRadius: "5px",
color: colorPlaceholder, color: colorPlaceholder,
whiteSpace: "normal"
}} }}
> >
{item} {item}