Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
O
official
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吕祺
official
Commits
9c0df634
Commit
9c0df634
authored
Jul 24, 2023
by
吕祺
⛹🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix css start with number
parent
952d3abe
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
portfolio.js
pages/portfolio.js
+2
-2
No files found.
pages/portfolio.js
View file @
9c0df634
...
...
@@ -44,7 +44,7 @@ export default class PortfolioPage extends Component {
}
else
{
n
=
portfolio
.
nameEN
.
replace
(
/ |
\+
|
\.
/g
,
''
)
}
n
=
n
.
replace
(
/
/g
,
''
)
n
=
n
.
replace
(
/
^
\d
+/
,
''
)
if
(
mounted
)
{
return
(
<
div
key
=
{
key
}
className
=
"portfolio-image-wrapper"
>
...
...
@@ -186,7 +186,7 @@ export default class PortfolioPage extends Component {
<
/div
>
<
/div
>
<
div
className
=
"portfolio"
>
{
en
===
null
||
!
en
&&
(
portfolio
{
(
en
===
null
||
!
en
)
&&
(
portfolio
.
filter
((
p
)
=>
{
if
(
showType
===
'all'
)
return
true
return
p
.
type
===
showType
...
...
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