Merge branch 'fix-select' into tomain
This commit is contained in:
commit
2f4e5f7752
@ -174,7 +174,7 @@ function TariffPage() {
|
|||||||
<ArrowLeft color="black" />
|
<ArrowLeft color="black" />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
<Box sx={{ display: "flex", ml: "auto" }}>
|
<Box sx={{ display: "flex", ml: "auto" }}>
|
||||||
<Box sx={{ ml: "8px", whiteSpace: "nowrap" }}>
|
<Box sx={{ whiteSpace: "nowrap" }}>
|
||||||
<Typography
|
<Typography
|
||||||
sx={{
|
sx={{
|
||||||
fontSize: "12px",
|
fontSize: "12px",
|
||||||
|
@ -14,9 +14,9 @@ export default function FirstQuiz() {
|
|||||||
sx={{
|
sx={{
|
||||||
mt: "25px",
|
mt: "25px",
|
||||||
mb: "70px",
|
mb: "70px",
|
||||||
|
padding: "10px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ComplexNavText text1="Кабинет quiz" />
|
|
||||||
<Typography
|
<Typography
|
||||||
variant="h4"
|
variant="h4"
|
||||||
sx={{
|
sx={{
|
||||||
|
@ -154,6 +154,7 @@ export default function QuizPreviewLayout() {
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
gap: "8px",
|
gap: "8px",
|
||||||
|
maxWidth: "330px",
|
||||||
"& .Mui-selected": {
|
"& .Mui-selected": {
|
||||||
backgroundColor: theme.palette.background.default,
|
backgroundColor: theme.palette.background.default,
|
||||||
color: theme.palette.primary.main,
|
color: theme.palette.primary.main,
|
||||||
@ -168,6 +169,8 @@ export default function QuizPreviewLayout() {
|
|||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
px: "9px",
|
px: "9px",
|
||||||
gap: "20px",
|
gap: "20px",
|
||||||
|
width: "90%",
|
||||||
|
paddingRight: 0
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
IconComponent={ArrowDownTheme}
|
IconComponent={ArrowDownTheme}
|
||||||
@ -184,6 +187,8 @@ export default function QuizPreviewLayout() {
|
|||||||
p: "4px",
|
p: "4px",
|
||||||
borderRadius: "5px",
|
borderRadius: "5px",
|
||||||
color: "#9A9AAF",
|
color: "#9A9AAF",
|
||||||
|
wordBreak: "break-word",
|
||||||
|
whiteSpace: "pre-wrap",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{`${index + 1}. ${title}`}
|
{`${index + 1}. ${title}`}
|
||||||
|
@ -94,15 +94,20 @@ export default function Text({ question }: Props) {
|
|||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
px: "9px",
|
px: "9px",
|
||||||
gap: "20px",
|
gap: "20px",
|
||||||
|
width: "90%",
|
||||||
|
paddingLeft: "10px",
|
||||||
"& + input": !selectValue && {
|
"& + input": !selectValue && {
|
||||||
backgroundColor: theme.palette.background.default,
|
backgroundColor: theme.palette.background.default,
|
||||||
border: "none",
|
border: "none",
|
||||||
transform: "translateY(-50%)",
|
transform: "translateY(-50%)",
|
||||||
top: "50%",
|
top: "50%",
|
||||||
left: "10px",
|
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
color: "#333",
|
color: "#333",
|
||||||
fontSize: "16px",
|
fontSize: "16px",
|
||||||
|
overflow: "hidden",
|
||||||
|
textOverflow: "ellipsis",
|
||||||
|
paddingLeft: "10px",
|
||||||
|
width: "90%",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user