адаптивность для странички авторизации
This commit is contained in:
parent
77b3ac8369
commit
5d147cdf1e
@ -27,12 +27,13 @@ const Authorization: React.FC = () => {
|
|||||||
alignItems: "center"
|
alignItems: "center"
|
||||||
}}>
|
}}>
|
||||||
<Box sx={{
|
<Box sx={{
|
||||||
width: "350px",
|
maxWidth: "370px",
|
||||||
height: "700px",
|
height: "700px",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
justifyContent: "space-between",
|
justifyContent: "space-between",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
|
padding: '0 10px'
|
||||||
}}>
|
}}>
|
||||||
|
|
||||||
<Logo />
|
<Logo />
|
||||||
@ -84,11 +85,12 @@ const Authorization: React.FC = () => {
|
|||||||
label = "Эл. почта"
|
label = "Эл. почта"
|
||||||
variant = "filled"
|
variant = "filled"
|
||||||
color = "secondary"
|
color = "secondary"
|
||||||
sx = {{ width: "295px" }}
|
sx = {{ }}
|
||||||
InputProps={{
|
InputProps={{
|
||||||
style: {
|
style: {
|
||||||
backgroundColor: theme.palette.content.main,
|
backgroundColor: theme.palette.content.main,
|
||||||
color: theme.palette.secondary.main,
|
color: theme.palette.secondary.main,
|
||||||
|
paddingRight: '30px'
|
||||||
} }}
|
} }}
|
||||||
InputLabelProps={{
|
InputLabelProps={{
|
||||||
style: {
|
style: {
|
||||||
@ -127,11 +129,12 @@ const Authorization: React.FC = () => {
|
|||||||
type = "password"
|
type = "password"
|
||||||
variant = "filled"
|
variant = "filled"
|
||||||
color = "secondary"
|
color = "secondary"
|
||||||
sx = {{ width: "295px" }}
|
sx = {{ }}
|
||||||
InputProps={{
|
InputProps={{
|
||||||
style: {
|
style: {
|
||||||
backgroundColor: theme.palette.content.main,
|
backgroundColor: theme.palette.content.main,
|
||||||
color: theme.palette.secondary.main
|
color: theme.palette.secondary.main,
|
||||||
|
paddingRight: '30px'
|
||||||
} }}
|
} }}
|
||||||
InputLabelProps={{
|
InputLabelProps={{
|
||||||
style: {
|
style: {
|
||||||
@ -204,7 +207,7 @@ const Authorization: React.FC = () => {
|
|||||||
sx={{
|
sx={{
|
||||||
backgroundColor: theme.palette.content.main,
|
backgroundColor: theme.palette.content.main,
|
||||||
width: "100%",
|
width: "100%",
|
||||||
height: "82px",
|
padding: '21px 16px',
|
||||||
"&:hover": {
|
"&:hover": {
|
||||||
backgroundColor: theme.palette.menu.main
|
backgroundColor: theme.palette.menu.main
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user