Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linweijiong
jinfa-platform
Commits
94ce8c7e
Commit
94ce8c7e
authored
Jun 03, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 完善样式
parent
9ecddb23
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
6 deletions
+21
-6
UploadFiles.less
src/components/UploadFiles/UploadFiles.less
+18
-4
UploadFiles.tsx
src/components/UploadFiles/UploadFiles.tsx
+2
-2
reset.less
src/global/styles/reset.less
+1
-0
No files found.
src/components/UploadFiles/UploadFiles.less
View file @
94ce8c7e
@import '../../global/styles/utils.less';
.renderFileContainer {
display: flex;
flex-direction: column;
...
...
@@ -25,10 +27,22 @@
justify-content: space-between;
align-items: center;
.img {
width: 16px;
height: 16px;
margin-right: @margin-sm;
.fileItem-left {
display: flex;
align-items: center;
flex: 1;
overflow: hidden;
.img {
width: 16px;
height: 16px;
margin-right: @margin-sm;
}
> a {
flex: 1;
.textOverflow();
}
}
}
// &:hover {
...
...
src/components/UploadFiles/UploadFiles.tsx
View file @
94ce8c7e
...
...
@@ -100,9 +100,9 @@ const UploadFiles: React.FC<PickUploadProps> = (props: PickUploadProps) => {
)
}
<
div
className=
{
styles
.
renderFileItem
}
>
<
div
>
<
div
className=
{
styles
[
'fileItem-left'
]
}
>
<
img
className=
{
styles
.
img
}
src=
{
pdf_icon
}
/>
<
span
>
{
_item
.
name
}
</
span
>
<
a
href=
{
_item
.
url
}
target=
"_blank"
>
{
_item
.
name
}
</
a
>
</
div
>
{
!
disable
&&
(
...
...
src/global/styles/reset.less
View file @
94ce8c7e
...
...
@@ -272,6 +272,7 @@
}
.ant-descriptions-item-label {
flex-shrink: 0;
color: #909399 !important;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment