From 6c20f4ffcc8d5bf2ef8ac3b587397f0f07afd291 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 21 Sep 2020 13:10:32 -0400 Subject: [PATCH] feat: phase out HR dividers on topic, use CSS instead --- less/modules/necro-post.less | 4 ++++ less/persona.less | 1 + less/topic.less | 3 +++ templates/partials/topic/necro-post.tpl | 1 - templates/partials/topic/post.tpl | 4 +--- 5 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 less/modules/necro-post.less diff --git a/less/modules/necro-post.less b/less/modules/necro-post.less new file mode 100644 index 0000000..85770f1 --- /dev/null +++ b/less/modules/necro-post.less @@ -0,0 +1,4 @@ +.topic .necro-post { + border-bottom: 1px solid @gray-lighter; + padding-bottom: 20px; +} \ No newline at end of file diff --git a/less/persona.less b/less/persona.less index 78adcfd..b8342a7 100644 --- a/less/persona.less +++ b/less/persona.less @@ -36,6 +36,7 @@ @import "modules/composer-default"; @import "modules/cookie-consent"; @import "modules/bottom-sheet"; +@import "modules/necro-post"; @material-primary: #337ab7; diff --git a/less/topic.less b/less/topic.less index cb9f926..81a5771 100644 --- a/less/topic.less +++ b/less/topic.less @@ -385,6 +385,9 @@ [component="post"] { position: relative; + border-bottom: 1px solid @gray-lighter; + padding-bottom: 20px; + margin-bottom: 20px; .edit-icon { vertical-align: -2%; diff --git a/templates/partials/topic/necro-post.tpl b/templates/partials/topic/necro-post.tpl index aa1895b..d0e6a73 100644 --- a/templates/partials/topic/necro-post.tpl +++ b/templates/partials/topic/necro-post.tpl @@ -1,4 +1,3 @@
  • {text} -
  • \ No newline at end of file diff --git a/templates/partials/topic/post.tpl b/templates/partials/topic/post.tpl index 2fd6200..928d7e4 100644 --- a/templates/partials/topic/post.tpl +++ b/templates/partials/topic/post.tpl @@ -94,6 +94,4 @@ - - -
    + \ No newline at end of file