Skip to content

EspoCRM – Open Source CRM Application

Wide record view

Yuriiaafff292a252
diff --git a/application/Espo/Resources/i18n/en_US/Preferences.json b/application/Espo/Resources/i18n/en_US/Preferences.json
index 19fc332ba6..482f4cd9d9 100644
--- a/application/Espo/Resources/i18n/en_US/Preferences.json
+++ b/application/Espo/Resources/i18n/en_US/Preferences.json
@@ -58,6 +58,7 @@
},
"recordContentWidth": {
"": "Normal",
+ "Wide": "Wide",
"Full": "Full"
}
},
diff --git a/application/Espo/Resources/metadata/entityDefs/Preferences.json b/application/Espo/Resources/metadata/entityDefs/Preferences.json
index 29a6362d66..921fb9db2e 100644
--- a/application/Espo/Resources/metadata/entityDefs/Preferences.json
+++ b/application/Espo/Resources/metadata/entityDefs/Preferences.json
@@ -174,6 +174,7 @@
"type": "enum",
"options": [
"",
+ "Wide",
"Full"
],
"default": null,
diff --git a/frontend/less/espo/elements/site.less b/frontend/less/espo/elements/site.less
index c78f9cfb85..a0b5f75f16 100644
--- a/frontend/less/espo/elements/site.less
+++ b/frontend/less/espo/elements/site.less
@@ -27,7 +27,10 @@ body[data-content-width="Full"] {
--container-max-width: 100%;
}
+body[data-record-content-width="Wide"] {
+ --record-grid-max-width: var(--container-max-width-wide);
+}
+
body[data-record-content-width="Full"] {
--record-grid-max-width: 100%;
}
-