Remove redundant class
This commit is contained in:
parent
8c2c00fbc1
commit
f26fe0ea1b
|
@ -59,7 +59,6 @@ Run the tests locally (against development environment):
|
|||
## TODOs
|
||||
|
||||
1. CSS
|
||||
1. `post--remark__date` should be `post--remark__title`
|
||||
1. Create mod takes null input??
|
||||
1. Check status for items not found, should be 404 but getting 5xx
|
||||
1. "All new posts flagged" mode (require approval for new posts)
|
||||
|
|
|
@ -235,16 +235,6 @@ pre > code {
|
|||
padding: 0.25em 0.5em;
|
||||
}
|
||||
|
||||
.post--remark__date {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background-color: var(--teal);
|
||||
margin: 0;
|
||||
padding: 0.25em 0.5em 0.25em 0.75em;
|
||||
align-items: center;
|
||||
border: inset var(--teal);
|
||||
}
|
||||
|
||||
.post__body {
|
||||
background-color: var(--dark-warm-gray);
|
||||
border: inset var(--dark-warm-gray);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<h2 class="page-title"><%= title %></h2>
|
||||
<main class="pager">
|
||||
<article class="post">
|
||||
<h4 class="post--remark__date">
|
||||
<h4 class="post__title">
|
||||
<%= $remark->{'date'} %>
|
||||
<span class="post__id">#<%= $remark->{'id'} %></span>
|
||||
</h4>
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
<section class="pager">
|
||||
<h3 class="page-title">Last Remark</h3>
|
||||
<article class="post">
|
||||
<h4 class="post--remark__date">
|
||||
<h4 class="post__title">
|
||||
<%= link_to $last_remark->{'date'}, single_remark =>
|
||||
{remark_id => $last_remark_id} %>
|
||||
<%= link_to "#$last_remark_id", single_remark =>
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<h3 class="page-title">Remarks</h3>
|
||||
<% for my $remark (@{$remarks}) { =%>
|
||||
<article class="post">
|
||||
<h4 class="post--remark__date">
|
||||
<h4 class="post__title">
|
||||
<%= link_to $remark->{'date'}, single_remark =>
|
||||
{remark_id => $remark->{'id'}} %>
|
||||
<%= link_to "#$remark->{'id'}", single_remark =>
|
||||
|
|
Loading…
Reference in a new issue