From ff743ed9d6d5ae6056356a56ad8d7a525b0d416e Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 17 Jan 2021 10:38:34 -0800 Subject: [PATCH] Javascript button for reply form --- bookwyrm/static/css/format.css | 2 +- .../templates/snippets/create_status_form.html | 8 ++++---- bookwyrm/templates/snippets/status_body.html | 5 ++--- bookwyrm/templates/snippets/trimmed_text.html | 14 ++++++-------- 4 files changed, 13 insertions(+), 16 deletions(-) diff --git a/bookwyrm/static/css/format.css b/bookwyrm/static/css/format.css index 69ac202db..7a513a655 100644 --- a/bookwyrm/static/css/format.css +++ b/bookwyrm/static/css/format.css @@ -18,7 +18,7 @@ background-color: hsl(171, 100%, 41%); color: white; } -.hide-active[aria-pressed=true], .hide-active { +.hide-active[aria-pressed=true], .hide-inactive[aria-pressed=false] { display: none; } diff --git a/bookwyrm/templates/snippets/create_status_form.html b/bookwyrm/templates/snippets/create_status_form.html index 22872c05c..d1d998170 100644 --- a/bookwyrm/templates/snippets/create_status_form.html +++ b/bookwyrm/templates/snippets/create_status_form.html @@ -34,14 +34,14 @@ {% else %} {% include 'snippets/content_warning_field.html' with parent_status=status %} - + {% endif %} {% if type == 'quotation' %}
- + {% include 'snippets/content_warning_field.html' with parent_status=status %} - +
{% endif %} @@ -56,7 +56,7 @@
- +
diff --git a/bookwyrm/templates/snippets/status_body.html b/bookwyrm/templates/snippets/status_body.html index 893632dc2..b7b4e07c1 100644 --- a/bookwyrm/templates/snippets/status_body.html +++ b/bookwyrm/templates/snippets/status_body.html @@ -18,7 +18,7 @@ {% block card-footer %}