Factor out duplicated p.info CSS.
`p.info` is used to render "Updated by so-and-so 5 minutes ago" messages as fine print.
This commit is contained in:
@@ -128,3 +128,9 @@ table tfoot {
|
||||
font-size: 0.8em;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
p.info {
|
||||
color: #AAA;
|
||||
font-style: italic;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
@@ -5,12 +5,6 @@ div.comments-for-post {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
p.info {
|
||||
color: #AAA;
|
||||
font-style: italic;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
div.list-of-comments {
|
||||
article.comment {
|
||||
margin-bottom: 2em;
|
||||
|
||||
@@ -1,10 +1,4 @@
|
||||
div.list-of-forum-posts {
|
||||
p.info {
|
||||
color: #AAA;
|
||||
font-style: italic;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
article {
|
||||
border: 1px solid #AAA;
|
||||
margin: 1em 0em;
|
||||
@@ -41,12 +35,6 @@ div.list-of-forum-posts {
|
||||
}
|
||||
|
||||
div#c-forum-topics {
|
||||
p.info {
|
||||
color: #AAA;
|
||||
font-style: italic;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
div.single-forum-post {
|
||||
}
|
||||
|
||||
|
||||
@@ -19,12 +19,6 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p.author {
|
||||
font-size: 80%;
|
||||
font-style: italic;
|
||||
color: #AAA;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<% @change_request.feedback.each do |feedback| %>
|
||||
<li class="feedback-category-<%= feedback.category %>">
|
||||
<p><%= feedback.body %></p>
|
||||
<p class="author">Submitted by <%= link_to_user feedback.creator.name %> <%= time_ago_in_words_tagged feedback.created_at %></p>
|
||||
<p class="info">Submitted by <%= link_to_user feedback.creator.name %> <%= time_ago_in_words_tagged feedback.created_at %></p>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user