From 190932322ee9396ce61066fb3673b3b53fb1ef15 Mon Sep 17 00:00:00 2001 From: Robert Goldmann <deadlocker@gmx.de> Date: Sat, 23 Jul 2022 17:12:18 +0200 Subject: [PATCH] #677 - fixed chips input width and focus color --- .../src/main/resources/static/css/style.css | 25 +++++++++++++++++++ .../resources/static/css/transactions.css | 16 ------------ 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/BudgetMasterServer/src/main/resources/static/css/style.css b/BudgetMasterServer/src/main/resources/static/css/style.css index 81c769ae6..ba0839a4b 100644 --- a/BudgetMasterServer/src/main/resources/static/css/style.css +++ b/BudgetMasterServer/src/main/resources/static/css/style.css @@ -584,6 +584,31 @@ input[type="radio"]:checked + span::after, [type="radio"].with-gap:checked + spa font-size: 2rem; } + +.tag-input-container { + display: flex; + flex-direction: row; + align-items: center; +} + +.tag-input-container .prefix { + margin-right: 1.3rem; +} + +.tag-input { + display: flex; + flex-direction: column; + flex-grow: 1; +} + +.chips .input { + width: auto !important; +} + +.chip:focus { + background-color: var(--color-blue); +} + .invisible { opacity: 0; } diff --git a/BudgetMasterServer/src/main/resources/static/css/transactions.css b/BudgetMasterServer/src/main/resources/static/css/transactions.css index a1e79dbde..e56625df8 100644 --- a/BudgetMasterServer/src/main/resources/static/css/transactions.css +++ b/BudgetMasterServer/src/main/resources/static/css/transactions.css @@ -19,22 +19,6 @@ margin-top: 0; } -.transaction-tags { - display: flex; - flex-direction: row; - align-items: center; -} - -.transaction-tags .prefix { - margin-right: 1.3rem; -} - -.transaction-tags-input { - display: flex; - flex-direction: column; - flex-grow: 1; -} - .input-min-width { min-width: 100px; } -- GitLab