Use dividers instead of border on <section>

This commit is contained in:
Deimos
2019-10-01 17:14:45 -06:00
parent bc6fc08a53
commit b1fe7324d8
4 changed files with 3 additions and 6 deletions

View File

@@ -182,8 +182,6 @@ pre {
section {
margin-top: 1rem;
padding-top: 1rem;
border-top: 2px solid;
}
summary {

View File

@@ -90,10 +90,6 @@
background-color: map-get($theme, "background-primary");
}
section {
border-color: map-get($theme, "border");
}
tbody tr:nth-of-type(2n + 1) {
background-color: map-get($theme, "background-secondary");
}

View File

@@ -18,6 +18,7 @@
{% endfor %}
<section>
<div class="divider"></div>
<h2>Add a new reply to this conversation</h2>
<form
method="post"

View File

@@ -168,6 +168,7 @@
<section class="topic-comments">
{% if comments %}
<div class="divider"></div>
<header class="topic-comments-header">
<h2>{{ pluralize(topic.num_comments, "comment") }}</h2>
@@ -215,6 +216,7 @@
{% if request.has_permission('comment', topic) %}
<section data-js-remove-on-success>
<div class="divider"></div>
<h2>Post a comment</h2>
<form
method="post"