diff --git a/catalog/templates/_item_comments.html b/catalog/templates/_item_comments.html index e5ca2235..9e10b7db 100644 --- a/catalog/templates/_item_comments.html +++ b/catalog/templates/_item_comments.html @@ -55,7 +55,6 @@ {% endif %} - {% if comment.rating_grade %}{{ comment.rating_grade|rating_star }}{% endif %} {{ comment.owner.display_name }} @@ -69,7 +68,12 @@ {% if comment.item != item %} {{ comment.item.title }}{{ comment.item.title_deco }} {% endif %} -
{{ comment.html|safe }}
+
+ + {% if comment.rating_grade %}{{ comment.rating_grade|rating_star }}{% endif %} + + {{ comment.html|safe }} +
{% if comment.latest_post %}
{% endif %} {% else %} diff --git a/common/static/scss/_rating.scss b/common/static/scss/_rating.scss index e8f3cbc5..32faa607 100644 --- a/common/static/scss/_rating.scss +++ b/common/static/scss/_rating.scss @@ -94,7 +94,8 @@ // Rating Star with Font Awesome .rating-star { position: relative; - vertical-align: middle; + vertical-align: bottom; + color: var(--pico-mark-background-color); font-family: FontAwesome; display: inline-block; } diff --git a/common/templates/common_libs.html b/common/templates/common_libs.html index 2f5bae43..1369fd11 100644 --- a/common/templates/common_libs.html +++ b/common/templates/common_libs.html @@ -45,7 +45,7 @@ style.innerHTML = ".solo-hidden {display: none;}"; document.head.appendChild(style); } - $('html').attr('data-theme', localStorage.getItem("theme_color")) + $('html').attr('data-theme', localStorage.getItem("theme_color")||null) })(); diff --git a/users/templates/users/preferences.html b/users/templates/users/preferences.html index 091fb19b..355d530a 100644 --- a/users/templates/users/preferences.html +++ b/users/templates/users/preferences.html @@ -202,7 +202,7 @@