Fakultas Ilmu Komputer UI

Commit 1aa89a72 authored by Dhita Putri Pratama's avatar 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
......@@ -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);
}
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment