Skip to content

Commit

Permalink
fix: Change articles-list-item id to class
Browse files Browse the repository at this point in the history
  • Loading branch information
parksb committed Oct 6, 2020
1 parent a7b11d7 commit 7d8cb81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/scss/articles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
}

#articles-list-item {
.articles-list-item {
display: block;
margin-bottom: 50px;
}
}
2 changes: 1 addition & 1 deletion app/templates/articles.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<section id="articles-container">
<ul>
<% articles.reverse().map((article) => { %>
<li id="articles-list-item">
<li class="articles-list-item">
<a href="./article/<%= article.id %>.html">
<h1><%= article.title %></h1>
<% if (article.subtitle) { %>
Expand Down

0 comments on commit 7d8cb81

Please sign in to comment.