Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
2020
PPL-C
Diskominfo-D'Blood
Mantan Aab-D Blood
Commits
1aa89a72
Commit
1aa89a72
authored
Jun 25, 2020
by
Dhita Putri Pratama
Browse files
Merge branch 'warmfix-article' into 'staging'
[CHORES] Fix article link See merge request
!126
parents
b2552c77
e61c9105
Pipeline
#50117
passed with stages
in 2 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/pages/article.css
View file @
1aa89a72
...
...
@@ -59,11 +59,11 @@
word-wrap
:
break-word
;
}
a
:hover
{
.article-link
:hover
{
text-decoration
:
none
;
font-weight
:
bold
;
color
:
var
(
--red
)
;
}
a
:focus
{
.article-link
:focus
{
text-decoration
:
none
;
font-weight
:
bold
;
color
:
var
(
--red
)
;
}
frontend/src/pages/article.js
View file @
1aa89a72
...
...
@@ -77,7 +77,11 @@ const Content = props => {
<
ErrorRetry
retry
=
{
refetchList
}
/
>
)
:
(
dataList
.
data
.
results
.
slice
(
0
,
3
).
map
(
newArticle
=>
(
<
Link
to
=
{
"
/article/
"
+
newArticle
.
id
}
key
=
{
newArticle
.
id
}
>
<
Link
className
=
"
article-link
"
to
=
{
"
/article/
"
+
newArticle
.
id
}
key
=
{
newArticle
.
id
}
>
<
Row
className
=
"
my-3 d-flex flex-column align-items-center
"
>
<
div
className
=
"
col-sm-12
"
>
<
div
>
...
...
Write
Preview
Supports
Markdown
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