fix: 统一设备管理页面按钮样式并修复弹窗关闭按钮显示
This commit is contained in:
@@ -1304,6 +1304,24 @@ function DeviceManagement() {
|
|||||||
return (
|
return (
|
||||||
<div style={pageContainerStyle}>
|
<div style={pageContainerStyle}>
|
||||||
<style>{`
|
<style>{`
|
||||||
|
.device-modal .ant-modal-close {
|
||||||
|
top: 16px;
|
||||||
|
right: 24px;
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.device-modal .ant-modal-close-x {
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 1;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
.device-table-wrapper {
|
.device-table-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -1744,7 +1762,8 @@ function DeviceManagement() {
|
|||||||
footer={null}
|
footer={null}
|
||||||
width={700}
|
width={700}
|
||||||
style={{ borderRadius: '16px' }}
|
style={{ borderRadius: '16px' }}
|
||||||
styles={{ header: { borderBottom: '1px solid #f0f0f0', padding: '16px 24px' }, body: { padding: '24px' } }}
|
styles={{ header: { borderBottom: '1px solid #f0f0f0', padding: '16px 50px 16px 24px' }, body: { padding: '24px' } }}
|
||||||
|
className="device-modal"
|
||||||
>
|
>
|
||||||
<Form
|
<Form
|
||||||
form={form}
|
form={form}
|
||||||
|
|||||||
Reference in New Issue
Block a user