Commit 1d4f6891 authored by XieZhiXiong's avatar XieZhiXiong

feat: 完善布局适配

parent 5c8b7c7b
.upload {
flex: 1;
:global {
.ant-upload.ant-upload-select-picture-card {
width: 175px;
height: 120px;
width: 100%;
min-width: 175px;
height: auto;
padding-bottom: 55%;
position: relative;
> .ant-upload {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
}
}
......@@ -15,8 +28,8 @@
}
.img {
width: 175px;
height: 120px;
width: 100%;
height: 100%;
object-fit: cover;
}
}
\ No newline at end of file
......@@ -102,21 +102,24 @@ const QualitiesUploadFormItem = (props) => {
const span = colSpan ? {
span: colSpan,
} : {
sm: 12,
md: 8,
lg: 8,
xs: 24,
sm: 24,
md: 24,
lg: 24,
xl: 12,
xxl: 8,
};
return (
<div style={{ width: '100%' }}>
<ArrayList value={value}>
<Row
gutter={[66, 50]}
gutter={[25, 25]}
>
{toArr(value).map((item, index) => (
<Col key={index} {...span}>
<Row
gutter={50}
gutter={25}
align="middle"
>
<Col flex={1} className={styles['lineage-cell']}>
......
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