From aba061cb72da28e90adfa8ca9858ba4d17f0d5cf Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 24 Dec 2018 11:56:37 +0200 Subject: [PATCH] css sticked fix --- frontend/less/espo/custom.less | 17 ++++++++++++++++- frontend/less/hazyblue-vertical/custom.less | 16 ++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/frontend/less/espo/custom.less b/frontend/less/espo/custom.less index 95649bd115..9965a7defa 100644 --- a/frontend/less/espo/custom.less +++ b/frontend/less/espo/custom.less @@ -1842,7 +1842,6 @@ h4.panel-title span.fas.color-icon { margin-bottom: 0; } -.panel.sticked, .panel.sticked { margin-top: -1 * @line-height-computed; border-top-width: 0; @@ -1856,6 +1855,22 @@ h4.panel-title span.fas.color-icon { } } +.side { + > .panel.sticked:first-child { + margin-top: 0; + } + + .panel.hidden + .panel.sticked { + margin-top: 0; + } +} + +.bottom { + .panel.hidden + .panel.sticked { + margin-top: 0; + } +} + .label { padding: .09em .5em .2em; } diff --git a/frontend/less/hazyblue-vertical/custom.less b/frontend/less/hazyblue-vertical/custom.less index 8ec0e1c12b..561f147b30 100644 --- a/frontend/less/hazyblue-vertical/custom.less +++ b/frontend/less/hazyblue-vertical/custom.less @@ -111,6 +111,22 @@ table.table { border-top-width: 1px; } +.side { + > .panel.sticked:first-child { + border-top-width: 0; + } + + .panel.hidden + .panel.sticked { + border-top-width: 0; + } +} + +.bottom { + .panel.hidden + .panel.sticked { + border-top-width: 0; + } +} + .list-container .list-buttons-container { margin-bottom: @padding-base-horizontal; }