Fakultas Ilmu Komputer UI

Commit e61c9105 authored by Nabila Febri Viola's avatar Nabila Febri Viola
Browse files

[CHORES] Fix article link

parent 37f638be
Pipeline #50116 passed with stages
in 1 minute and 48 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