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 {
|
@import "provider/disqus.scss"
|
||||||
background-color: var(--card-background);
|
|
||||||
border-radius: var(--card-border-radius);
|
|
||||||
@include box_shadow(1);
|
|
||||||
padding: var(--content-padding);
|
|
||||||
}
|
|
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 }}
|
{{ if .Site.Params.comments.enabled }}
|
||||||
<div class="comments-container provider-{{ .Site.Params.comments.provider }}">
|
|
||||||
{{ partial (printf "comments/provider/%s" .Site.Params.comments.provider) . }}
|
{{ partial (printf "comments/provider/%s" .Site.Params.comments.provider) . }}
|
||||||
</div>
|
|
||||||
{{ end }}
|
{{ end }}
|
@ -1 +1,3 @@
|
|||||||
|
<div class="disqus-container">
|
||||||
{{ template "_internal/disqus.html" . }}
|
{{ template "_internal/disqus.html" . }}
|
||||||
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user