Remove redundant class

This commit is contained in:
swag 2023-05-21 11:46:29 -04:00
parent 8c2c00fbc1
commit f26fe0ea1b
5 changed files with 3 additions and 14 deletions

View File

@ -59,7 +59,6 @@ Run the tests locally (against development environment):
## TODOs ## TODOs
1. CSS 1. CSS
1. `post--remark__date` should be `post--remark__title`
1. Create mod takes null input?? 1. Create mod takes null input??
1. Check status for items not found, should be 404 but getting 5xx 1. Check status for items not found, should be 404 but getting 5xx
1. "All new posts flagged" mode (require approval for new posts) 1. "All new posts flagged" mode (require approval for new posts)

View File

@ -235,16 +235,6 @@ pre > code {
padding: 0.25em 0.5em; 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 { .post__body {
background-color: var(--dark-warm-gray); background-color: var(--dark-warm-gray);
border: inset var(--dark-warm-gray); border: inset var(--dark-warm-gray);

View File

@ -3,7 +3,7 @@
<h2 class="page-title"><%= title %></h2> <h2 class="page-title"><%= title %></h2>
<main class="pager"> <main class="pager">
<article class="post"> <article class="post">
<h4 class="post--remark__date"> <h4 class="post__title">
<%= $remark->{'date'} %> <%= $remark->{'date'} %>
<span class="post__id">#<%= $remark->{'id'} %></span> <span class="post__id">#<%= $remark->{'id'} %></span>
</h4> </h4>

View File

@ -53,7 +53,7 @@
<section class="pager"> <section class="pager">
<h3 class="page-title">Last Remark</h3> <h3 class="page-title">Last Remark</h3>
<article class="post"> <article class="post">
<h4 class="post--remark__date"> <h4 class="post__title">
<%= link_to $last_remark->{'date'}, single_remark => <%= link_to $last_remark->{'date'}, single_remark =>
{remark_id => $last_remark_id} %> {remark_id => $last_remark_id} %>
<%= link_to "#$last_remark_id", single_remark => <%= link_to "#$last_remark_id", single_remark =>

View File

@ -41,7 +41,7 @@
<h3 class="page-title">Remarks</h3> <h3 class="page-title">Remarks</h3>
<% for my $remark (@{$remarks}) { =%> <% for my $remark (@{$remarks}) { =%>
<article class="post"> <article class="post">
<h4 class="post--remark__date"> <h4 class="post__title">
<%= link_to $remark->{'date'}, single_remark => <%= link_to $remark->{'date'}, single_remark =>
{remark_id => $remark->{'id'}} %> {remark_id => $remark->{'id'}} %>
<%= link_to "#$remark->{'id'}", single_remark => <%= link_to "#$remark->{'id'}", single_remark =>