From 5910b28362a1d6f7830d62911aefd7b18343f2d2 Mon Sep 17 00:00:00 2001 From: yuri Date: Tue, 20 Dec 2016 14:29:01 +0200 Subject: [PATCH] css modal list cache --- frontend/less/espo/custom.less | 13 +++++++++++++ frontend/less/espo/variables.less | 2 ++ 2 files changed, 15 insertions(+) diff --git a/frontend/less/espo/custom.less b/frontend/less/espo/custom.less index 76f45fdc4e..6c2d60a5bf 100644 --- a/frontend/less/espo/custom.less +++ b/frontend/less/espo/custom.less @@ -479,6 +479,19 @@ select[multiple].input-sm { padding-right: @panel-padding; } +.modal-body > div > .list { + margin-left: -@panel-padding; + margin-right: -@panel-padding; +} +.modal-body > div > .list > table td:first-child, +.modal-body > div > .list > table th:first-child { + padding-left: @panel-padding; +} +.modal-body > div > .list > table td:last-child, +.modal-body > div > .list > table th:last-child { + padding-right: @panel-padding; +} + .panel-body > .no-margin { margin: -@panel-padding; } diff --git a/frontend/less/espo/variables.less b/frontend/less/espo/variables.less index 991eb4eb84..b83d6a6f79 100644 --- a/frontend/less/espo/variables.less +++ b/frontend/less/espo/variables.less @@ -21,6 +21,8 @@ @container-padding: 15px; +@modal-inner-padding: @panel-padding; + .container-fixed() { margin-right: auto; margin-left: auto;