pref: 上传文件名称过程显示错位的问题

This commit is contained in:
kuaifan 2022-03-03 15:11:50 +08:00
parent 2fdef45156
commit 424e2428fe

View File

@ -485,7 +485,7 @@
.file-upload-list { .file-upload-list {
display: flex; display: flex;
width: 380px; width: 380px;
padding: 14px 26px 14px 13px; padding: 14px 26px 14px 26px;
border-radius: 8px; border-radius: 8px;
border: 1px solid #ebeef5; border: 1px solid #ebeef5;
position: fixed; position: fixed;
@ -497,8 +497,7 @@
overflow: hidden; overflow: hidden;
.upload-wrap { .upload-wrap {
flex: 1; flex: 1;
margin-left: 13px; width: 100%;
margin-right: 8px;
.title { .title {
font-weight: 700; font-weight: 700;
font-size: 16px; font-size: 16px;
@ -516,16 +515,18 @@
.content { .content {
font-size: 14px; font-size: 14px;
line-height: 21px; line-height: 21px;
margin: 12px -16px 0 0; margin: 12px 0 0;
color: #606266; color: #606266;
max-height: 500px; max-height: 500px;
max-width: 100%;
overflow: auto; overflow: auto;
> li { > li {
list-style: none; list-style: none;
padding: 4px 16px 4px 0; padding: 4px 0;
position: relative; position: relative;
.file-name { .file-name {
line-height: 18px; line-height: 18px;
padding-right: 16px;
} }
.file-error { .file-error {
font-size: 12px; font-size: 12px;
@ -533,8 +534,9 @@
} }
.file-close { .file-close {
position: absolute; position: absolute;
font-size: 14px;
top: 7px; top: 7px;
right: 0; right: -1px;
display: none; display: none;
cursor: pointer; cursor: pointer;
} }