From 712c30fe847fcbffbd01b4376a53b297ce1e7edc Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 25 Mar 2023 19:27:03 +0200 Subject: [PATCH] use an existing css class instead of making a new one --- files/assets/css/main.css | 3 --- files/templates/comments.html | 2 +- files/templates/submission.html | 6 +++--- files/templates/submission_listing.html | 4 ++-- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 52e7b5282..174f250ca 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -5562,9 +5562,6 @@ div[id^="form-preview-"] li > p:first-child { color: #f27d0c !important; font-weight: 800; } -.agendaposter { - text-transform: uppercase !important; -} code { text-transform: none !important; } diff --git a/files/templates/comments.html b/files/templates/comments.html index 764b4ed30..423d944be 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -254,7 +254,7 @@ {% endif %} {% set realbody = c.realbody(v) %} -
+
{{realbody | safe}}
{% if c.parent_submission or c.wall_user_id %} diff --git a/files/templates/submission.html b/files/templates/submission.html index 5d7904942..5ec5188b4 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -87,14 +87,14 @@
{% endif %} {% if p.realurl(v) and not v_forbid_deleted %} -

+

{% if p.flair %}{{p.flair | safe}}{% endif %} {{p.realtitle(v) | safe}}

{% else %} -

+

{% if p.flair %}{{p.flair | safe}}{% endif %} {{p.realtitle(v) | safe}}

@@ -124,7 +124,7 @@ {% endif %} -
+
{% if p.is_image %}
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 6a1e1906b..406972696 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -105,7 +105,7 @@ {{ macros.post_meta(p) }}
- + {% if p.flair %}{{p.flair | safe}}{% endif %} {{p.realtitle(v) | safe}}
@@ -217,7 +217,7 @@ {% if not v_forbid_deleted %} {% if p.realbody(v, listing=True) %} -
+
{{p.realbody(v, listing=True) | safe}}
{% endif %}