change edit page scrolling

parent c8580a4b
......@@ -85,7 +85,7 @@ const EditPage = () => {
</Item>
<div className='form-footer'>
<Item style={{ textAlign: 'right' }}>
<Item style={{}} className='form-footer-item'>
<Button type="default" style={{ marginRight: '8px' }}
onClick={() => navigate("/")}>
Отмена
......
......@@ -13,7 +13,7 @@
padding-right: 20px;
flex: 1;
overflow-y: auto;
margin-bottom: 60px;
margin-bottom: 80px;
}
.form-footer {
......@@ -24,6 +24,14 @@
background: white;
/* padding: 0px 20px 0px 20px; */
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
text-align: center;
padding-top: 30px;
/* text-align: center; */
/* 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