Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
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
sunyihao
bkunyun
Commits
04e79f13
Commit
04e79f13
authored
Jun 16, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 项目名称超长样式优化
parent
53f3ef04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
index.module.css
src/views/Project/components/CurrentProject/index.module.css
+7
-2
index.tsx
src/views/Project/components/CurrentProject/index.tsx
+2
-2
No files found.
src/views/Project/components/CurrentProject/index.module.css
View file @
04e79f13
...
@@ -17,16 +17,21 @@
...
@@ -17,16 +17,21 @@
.info
{
.info
{
flex
:
1
;
flex
:
1
;
}
}
.
n
ame
{
.
productN
ame
{
color
:
#1e2633
;
color
:
#1e2633
;
line-height
:
22px
;
line-height
:
22px
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
600
;
font-weight
:
600
;
}
}
.
desc
{
.
projectName
{
color
:
#8a9099
;
color
:
#8a9099
;
line-height
:
20px
;
line-height
:
20px
;
font-size
:
14px
;
font-size
:
14px
;
width
:
125px
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
display
:
block
;
overflow
:
hidden
;
}
}
.showProjectList
{
.showProjectList
{
color
:
#c2c6cc
;
color
:
#c2c6cc
;
...
...
src/views/Project/components/CurrentProject/index.tsx
View file @
04e79f13
...
@@ -58,10 +58,10 @@ const CurrentProject = observer(() => {
...
@@ -58,10 +58,10 @@ const CurrentProject = observer(() => {
>
>
<
img
src=
{
logo
}
alt=
""
className=
{
style
.
logo
}
/>
<
img
src=
{
logo
}
alt=
""
className=
{
style
.
logo
}
/>
<
div
className=
{
style
.
info
}
>
<
div
className=
{
style
.
info
}
>
<
div
className=
{
style
.
n
ame
}
>
<
div
className=
{
style
.
productN
ame
}
>
{
currentProjectStore
.
currentProductInfo
.
name
||
"CADD"
}
{
currentProjectStore
.
currentProductInfo
.
name
||
"CADD"
}
</
div
>
</
div
>
<
div
className=
{
style
.
desc
}
>
<
div
className=
{
style
.
projectName
}
title=
{
currentProjectStore
.
currentProjectInfo
.
name
}
>
{
currentProjectStore
.
currentProjectInfo
.
name
||
"暂无项目"
}
{
currentProjectStore
.
currentProjectInfo
.
name
||
"暂无项目"
}
</
div
>
</
div
>
</
div
>
</
div
>
...
...
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