change edit page scrolling

parent c8580a4b
...@@ -85,7 +85,7 @@ const EditPage = () => { ...@@ -85,7 +85,7 @@ const EditPage = () => {
</Item> </Item>
<div className='form-footer'> <div className='form-footer'>
<Item style={{ textAlign: 'right' }}> <Item style={{}} className='form-footer-item'>
<Button type="default" style={{ marginRight: '8px' }} <Button type="default" style={{ marginRight: '8px' }}
onClick={() => navigate("/")}> onClick={() => navigate("/")}>
Отмена Отмена
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
padding-right: 20px; padding-right: 20px;
flex: 1; flex: 1;
overflow-y: auto; overflow-y: auto;
margin-bottom: 60px; margin-bottom: 80px;
} }
.form-footer { .form-footer {
...@@ -24,6 +24,14 @@ ...@@ -24,6 +24,14 @@
background: white; background: white;
/* padding: 0px 20px 0px 20px; */ /* padding: 0px 20px 0px 20px; */
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
text-align: center; /* text-align: center; */
padding-top: 30px; /* padding-top: 30px; */
display: flex;
justify-content: center;
align-items: center;
background-color: red;
}
.form-footer-item{
background-color: green;
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment