Commit 94ce8c7e authored by XieZhiXiong's avatar XieZhiXiong

chore: 完善样式

parent 9ecddb23
@import '../../global/styles/utils.less';
.renderFileContainer { .renderFileContainer {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -25,10 +27,22 @@ ...@@ -25,10 +27,22 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.img { .fileItem-left {
width: 16px; display: flex;
height: 16px; align-items: center;
margin-right: @margin-sm; flex: 1;
overflow: hidden;
.img {
width: 16px;
height: 16px;
margin-right: @margin-sm;
}
> a {
flex: 1;
.textOverflow();
}
} }
} }
// &:hover { // &:hover {
......
...@@ -100,9 +100,9 @@ const UploadFiles: React.FC<PickUploadProps> = (props: PickUploadProps) => { ...@@ -100,9 +100,9 @@ const UploadFiles: React.FC<PickUploadProps> = (props: PickUploadProps) => {
) )
} }
<div className={styles.renderFileItem} > <div className={styles.renderFileItem} >
<div> <div className={styles['fileItem-left']}>
<img className={styles.img} src={pdf_icon} /> <img className={styles.img} src={pdf_icon} />
<span>{_item.name}</span> <a href={_item.url} target="_blank">{_item.name}</a>
</div> </div>
{ {
!disable && ( !disable && (
......
...@@ -272,6 +272,7 @@ ...@@ -272,6 +272,7 @@
} }
.ant-descriptions-item-label { .ant-descriptions-item-label {
flex-shrink: 0;
color: #909399 !important; color: #909399 !important;
} }
......
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