feat(edit): 页面表单高度优化
This commit is contained in:
@@ -139,9 +139,12 @@
|
||||
border-top: 1px solid #f0eef4;
|
||||
}
|
||||
.package-fields > .ant-form-item:first-child {
|
||||
width: 150px;
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
}
|
||||
.package-fields > .ant-form-item:first-child .ant-input {
|
||||
width: 150px;
|
||||
}
|
||||
.package-dimensions {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -265,6 +268,22 @@
|
||||
.editor-standard-select.ant-select-multiple .ant-select-input {
|
||||
line-height: 32px !important;
|
||||
}
|
||||
/* 产品类目 Cascader:控件高度与字号对齐页面文本框(40px / 16px) */
|
||||
.editor-standard-cascader.ant-select {
|
||||
--ant-select-height: 40px;
|
||||
--ant-select-font-size: 16px;
|
||||
--ant-select-line-height: 24px;
|
||||
--ant-select-font-height: 24px;
|
||||
}
|
||||
.editor-standard-cascader .ant-select-input {
|
||||
font-size: 16px;
|
||||
}
|
||||
.editor-standard-cascader .ant-select-placeholder {
|
||||
font-size: 16px;
|
||||
}
|
||||
.product-editor .ant-cascader-dropdown .ant-cascader-menu-item {
|
||||
font-size: 16px;
|
||||
}
|
||||
.dynamic-attributes {
|
||||
margin-top: 24px;
|
||||
padding-top: 22px;
|
||||
@@ -672,6 +691,9 @@
|
||||
.other-section .editor-section-heading {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.supply-open-button {
|
||||
height: 40px;
|
||||
}
|
||||
.editor-footer {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
|
||||
@@ -1790,6 +1790,7 @@ const ProductEditPage = () => {
|
||||
</Form.Item>
|
||||
<Tooltip title="打开货源链接">
|
||||
<Button
|
||||
className="supply-open-button"
|
||||
icon={<ExportOutlined />}
|
||||
disabled={!canOpenSupplyUrl}
|
||||
onClick={openSupplyUrl}
|
||||
|
||||
Reference in New Issue
Block a user