diff --git a/assets/scss/_single.scss b/assets/scss/_single.scss index 99a9a57e..5954e2ab 100644 --- a/assets/scss/_single.scss +++ b/assets/scss/_single.scss @@ -459,8 +459,8 @@ figure { .interactions { details { - summary { + margin: 0; cursor: pointer; list-style: none; @@ -481,10 +481,13 @@ figure { } } + > * { + margin: 0 0 0 1.8em; + } + } ul.reactions { - margin: 0 0 0 2em; list-style: none; li { @@ -495,13 +498,12 @@ figure { } svg { - margin: 0; + margin: 0 0.25em 0 0; } } } ol.comments { - margin: 0 0 0 2em; list-style: none; li { diff --git a/layouts/partials/interactions.html b/layouts/partials/interactions.html index 61c4e414..3722c279 100644 --- a/layouts/partials/interactions.html +++ b/layouts/partials/interactions.html @@ -23,13 +23,13 @@ {{ range $thisEm, $count := .reactions }} {{ if gt $count 0 }}
  • - {{ if eq $thisEm "❤️" }}{{ end }} - {{ if eq $thisEm "⭐️" }}{{ end }} - {{ if eq $thisEm "👍" }}{{ end }} - {{ if eq $thisEm "🔁" }}{{ end }} - {{ if eq $thisEm "💬" }}{{ end }} + {{ if eq $thisEm "❤️" }}{{ end -}} + {{ if eq $thisEm "⭐️" }}{{ end -}} + {{ if eq $thisEm "👍" }}{{ end -}} + {{ if eq $thisEm "🔁" }}{{ end -}} + {{ if eq $thisEm "💬" }}{{ end -}} - {{ $count }} + {{- $count }}
  • {{ end }} {{ end }}