Skip to content

EspoCRM – Open Source CRM Application

narrower record full width in modal

Yuri Kuznetsov664faa81caf1
diff --git a/frontend/less/espo/elements/record.less b/frontend/less/espo/elements/record.less
index ae4458237d..06f8b74124 100644
--- a/frontend/less/espo/elements/record.less
+++ b/frontend/less/espo/elements/record.less
@@ -35,6 +35,37 @@
.record .record-grid {
grid-column-gap: var(--padding-base-horizontal);
}
+
+ @media screen and (min-width: @screen-sm-min) {
+ .record-container,
+ .edit-container {
+ &.no-side-margin {
+ > div {
+ > .record-grid-wide {
+ margin-right: var(--panel-padding);
+
+ > .left {
+ > .middle {
+ > .panel {
+
+ &:not(.middle):not(.last),
+ &.first {
+ border-top-right-radius: var(--panel-border-radius);
+ }
+
+ &:not(.middle):not(.first),
+ &.last {
+ border-bottom-right-radius: var(--panel-border-radius);
+ }
+
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
}
@media screen and (max-width: @screen-sm-max) {