fix(comments): remove div.comments-container, apply card style depending on comment system
This commit is contained in:
parent
f051517f0a
commit
2912b7e2f0
@ -1,6 +1 @@
|
||||
.comments-container {
|
||||
background-color: var(--card-background);
|
||||
border-radius: var(--card-border-radius);
|
||||
@include box_shadow(1);
|
||||
padding: var(--content-padding);
|
||||
}
|
||||
@import "provider/disqus.scss"
|
6
assets/scss/partials/comments/provider/disqus.scss
Normal file
6
assets/scss/partials/comments/provider/disqus.scss
Normal file
@ -0,0 +1,6 @@
|
||||
.disqus-container {
|
||||
background-color: var(--card-background);
|
||||
border-radius: var(--card-border-radius);
|
||||
@include box_shadow(1);
|
||||
padding: var(--content-padding);
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
{{ if .Site.Params.comments.enabled }}
|
||||
<div class="comments-container provider-{{ .Site.Params.comments.provider }}">
|
||||
{{ partial (printf "comments/provider/%s" .Site.Params.comments.provider) . }}
|
||||
</div>
|
||||
{{ end }}
|
@ -1 +1,3 @@
|
||||
<div class="disqus-container">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user