From 5beddd0935eea515e7a357daf2b1a80aac37c494 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 1 Nov 2024 09:26:38 +0200 Subject: [PATCH] line height increase --- frontend/less/espo/custom.less | 2 +- frontend/less/espo/root-variables.less | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/less/espo/custom.less b/frontend/less/espo/custom.less index 4ad648d88b..c8fb5509f2 100644 --- a/frontend/less/espo/custom.less +++ b/frontend/less/espo/custom.less @@ -3540,7 +3540,7 @@ a.field-info > span.fa-info-circle { .fas, .far, .fa { font-size: var(--16px); - line-height: var(--21px); + line-height: var(--line-height-computed); } .fas.fa-sm, diff --git a/frontend/less/espo/root-variables.less b/frontend/less/espo/root-variables.less index 18a853aa4f..f783677e69 100644 --- a/frontend/less/espo/root-variables.less +++ b/frontend/less/espo/root-variables.less @@ -85,11 +85,11 @@ --font-size-large: var(--18px); --font-size-small: var(--12px); - --line-height-base: 1.5; + --line-height-base: 1.571; --line-height-large: 1.3333333; - --line-height-small: 1.5; + --line-height-small: 1.571; - --line-height-computed: var(--21px); + --line-height-computed: var(--22px); --table-cell-padding: var(--8px); --table-cell-less-padding: var(--3px); @@ -130,8 +130,8 @@ --popover-arrow-width: var(--10px); // @todo Compute by adding font-size, two vertical paddings and two borders? - --input-height-base: var(--35px); - --input-height-small: var(--29px); + --input-height-base: var(--36px); + --input-height-small: var(--30px); --input-height-large: var(--46px); --grid-column-width-xxsmall: var(--100px);