diff --git a/app/static/css/styles.css b/app/static/css/styles.css index 1a97d77..39fbbb0 100644 --- a/app/static/css/styles.css +++ b/app/static/css/styles.css @@ -1149,6 +1149,10 @@ input:checked + .toggle-bg { z-index: 50; } +.z-\[55\] { + z-index: 55; +} + .col-span-6 { grid-column: span 6 / span 6; } @@ -2005,6 +2009,11 @@ input:checked + .toggle-bg { background-color: rgb(200 30 30 / var(--tw-bg-opacity)); } +.bg-slate-600 { + --tw-bg-opacity: 1; + background-color: rgb(71 85 105 / var(--tw-bg-opacity)); +} + .bg-teal-700 { --tw-bg-opacity: 1; background-color: rgb(3 102 114 / var(--tw-bg-opacity)); diff --git a/app/templates/book/qa_view.html b/app/templates/book/qa_view.html index 8b0eb59..7ade3de 100644 --- a/app/templates/book/qa_view.html +++ b/app/templates/book/qa_view.html @@ -38,7 +38,7 @@ {{ form_hidden_tag() }}
- +
@@ -106,8 +106,21 @@
- {% for child in comment.children %}
- - {{child.text}} - {{child.user.username}} {{child.created_at.strftime('%B %d, %Y')}} + {% for child in comment.children %}
+
- {{child.text}}
by {{child.user.username}} {{child.created_at.strftime('%B %d, %Y')}}
+ {% if child.user_id == current_user.id %} +
+ + +
+ {% endif %}
{% endfor %}
@@ -123,7 +136,7 @@
- +
diff --git a/app/templates/header.html b/app/templates/header.html index 3bb1747..92482ab 100644 --- a/app/templates/header.html +++ b/app/templates/header.html @@ -1,5 +1,5 @@