From fe01d5418d8d442c759594fa6804e01fbfa27232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Wed, 8 Mar 2023 01:38:08 +0800 Subject: [PATCH] Fixed to limit the width of the search box in the currency list, base account list, account list, and transaction list. --- src/accounting/static/css/style.css | 3 +++ src/accounting/templates/accounting/account/list.html | 2 +- src/accounting/templates/accounting/base-account/list.html | 2 +- src/accounting/templates/accounting/currency/list.html | 2 +- src/accounting/templates/accounting/transaction/list.html | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/accounting/static/css/style.css b/src/accounting/static/css/style.css index 64c9683..3d68c34 100644 --- a/src/accounting/static/css/style.css +++ b/src/accounting/static/css/style.css @@ -24,6 +24,9 @@ .accounting-clickable { cursor: pointer; } +.accounting-search-desktop-form { + max-width: 16rem; +} .btn-group .btn .accounting-search-input { min-height: calc(1em + .5rem + 2px); padding: 0 0.5rem; diff --git a/src/accounting/templates/accounting/account/list.html b/src/accounting/templates/accounting/account/list.html index 80434f1..fa48f06 100644 --- a/src/accounting/templates/accounting/account/list.html +++ b/src/accounting/templates/accounting/account/list.html @@ -32,7 +32,7 @@ First written: 2023/1/30 {{ A_("New") }} {% endif %} -