From a82f5091f1f3ad8d722a6cc6a49ef22495888359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Tue, 21 Mar 2023 19:50:57 +0800 Subject: [PATCH] Revised the styles of the buttons in the description editor. --- src/accounting/static/css/style.css | 5 +++++ .../include/description-editor-modal.html | 22 ++++++++++--------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/accounting/static/css/style.css b/src/accounting/static/css/style.css index d317f36..c4a7656 100644 --- a/src/accounting/static/css/style.css +++ b/src/accounting/static/css/style.css @@ -318,6 +318,11 @@ a.accounting-report-table-row { padding-left: 1rem; } +/* The description editor */ +.accounting-description-editor-buttons .btn { + margin-bottom: 0.3rem; +} + /* The Material Design text field (floating form control in Bootstrap) */ .accounting-material-text-field { position: relative; diff --git a/src/accounting/templates/accounting/journal-entry/include/description-editor-modal.html b/src/accounting/templates/accounting/journal-entry/include/description-editor-modal.html index 0033cd5..941421d 100644 --- a/src/accounting/templates/accounting/journal-entry/include/description-editor-modal.html +++ b/src/accounting/templates/accounting/journal-entry/include/description-editor-modal.html @@ -74,7 +74,7 @@ First written: 2023/2/28
-
+
{% for tag in description_editor.general.tags %}
-
+
{% for tag in description_editor.travel.tags %}
-
+
@@ -132,7 +132,7 @@ First written: 2023/2/28
-
+
{% for tag in description_editor.bus.tags %}
-
+
@@ -156,11 +156,13 @@ First written: 2023/2/28 {# A recurring transaction #}
- {% for recurring in description_editor.recurring %} - - {% endfor %} +
+ {% for recurring in description_editor.recurring %} + + {% endfor %} +
{# The annotation #}