From 3492a8e2ac8c253e86884c58113e7411441aeee6 Mon Sep 17 00:00:00 2001 From: Robert Goldmann <deadlocker@gmx.de> Date: Sat, 12 Feb 2022 18:16:21 +0100 Subject: [PATCH] #658 - improved icon size --- src/main/resources/static/css/accounts.css | 10 ++++++++++ src/main/resources/static/css/style.css | 5 ----- src/main/resources/templates/helpers/navbar.ftl | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/main/resources/static/css/accounts.css b/src/main/resources/static/css/accounts.css index 54fb15aa9..4b04405b3 100644 --- a/src/main/resources/static/css/accounts.css +++ b/src/main/resources/static/css/accounts.css @@ -3,6 +3,16 @@ width: 34px; } +.account-icon-big { + height: 4rem !important; + width: 4rem !important; +} + +.account-icon-big .account-select-icon { + height: 4rem !important; + width: 4rem !important; +} + .account-square-border { border: 3px solid var(--color-blue); line-height: 28px !important; diff --git a/src/main/resources/static/css/style.css b/src/main/resources/static/css/style.css index 3248950b1..d0e2a4962 100644 --- a/src/main/resources/static/css/style.css +++ b/src/main/resources/static/css/style.css @@ -328,11 +328,6 @@ input[type="radio"]:checked + span::after, [type="radio"].with-gap:checked + spa cursor: pointer; } -#globalAccountSelect .account-select-icon { - height: 3.5rem; - width: 3.5rem; -} - .global-account-select-right { display: flex; flex-direction: column; diff --git a/src/main/resources/templates/helpers/navbar.ftl b/src/main/resources/templates/helpers/navbar.ftl index 0e12863d6..50b4d02c1 100644 --- a/src/main/resources/templates/helpers/navbar.ftl +++ b/src/main/resources/templates/helpers/navbar.ftl @@ -98,7 +98,7 @@ <#assign accountName=selectedAccount.getName()/> </#if> - <@customSelectMacros.accountIcon selectedAccount accountName "category-circle-preview"/> + <@customSelectMacros.accountIcon selectedAccount accountName "category-circle-preview account-icon-big"/> <div class="global-account-select-right"> <div>${accountName}</div> -- GitLab