From 0a8b261ccc72a0ac4753583637fd62c714c05339 Mon Sep 17 00:00:00 2001 From: ArtemDzhereleiko Date: Tue, 2 Dec 2025 16:09:09 +0200 Subject: [PATCH] UI: Fixed margin between widgets --- ui-ngx/src/assets/dashboard/api_usage.json | 69 +++++++++++----------- 1 file changed, 35 insertions(+), 34 deletions(-) diff --git a/ui-ngx/src/assets/dashboard/api_usage.json b/ui-ngx/src/assets/dashboard/api_usage.json index fa63f64001..02708d12fd 100644 --- a/ui-ngx/src/assets/dashboard/api_usage.json +++ b/ui-ngx/src/assets/dashboard/api_usage.json @@ -2213,7 +2213,7 @@ "dropShadow": false, "enableFullscreen": true, "titleStyle": null, - "configMode": "advanced", + "configMode": "basic", "actions": { "headerButton": [ { @@ -11470,7 +11470,7 @@ "dropShadow": false, "enableFullscreen": false, "widgetStyle": {}, - "widgetCss": ".tb-widget-header {\n height: 48px;\n align-items: center !important;\n padding: 5px 10px 0 10px;\n}", + "widgetCss": ".tb-widget-header {\n height: 48px;\n align-items: center !important;\n padding: 5px 10px 0 10px;\n}\n\n@media screen and (min-width: 960px) {\n .tb-widget {\n margin-right: 0px !important;\n }\n}", "titleStyle": {}, "pageSize": 1024, "noDataDisplayMessage": "", @@ -11505,7 +11505,8 @@ "lineHeight": "20px" }, "borderRadius": "12px", - "titleColor": "rgba(0, 0, 0, 0.54)" + "titleColor": "rgba(0, 0, 0, 0.54)", + "margin": "12px" }, "row": 0, "col": 0, @@ -11530,13 +11531,13 @@ "backgroundColor": "#eeeeee", "color": "rgba(0,0,0,0.870588)", "columns": 12, - "margin": 8, + "margin": 12, "backgroundSizeMode": "100%", "autoFillHeight": true, "backgroundImageUrl": null, "mobileAutoFillHeight": true, "mobileRowHeight": 100, - "outerMargin": true, + "outerMargin": false, "layoutType": "divider", "minColumns": 12, "viewFormat": "grid", @@ -11586,7 +11587,7 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, + "margin": 12, "outerMargin": true, "backgroundSizeMode": "100%", "minColumns": 12, @@ -11636,7 +11637,7 @@ "backgroundColor": "#eeeeee", "color": "rgba(0,0,0,0.870588)", "columns": 24, - "margin": 8, + "margin": 12, "backgroundSizeMode": "100%", "autoFillHeight": true, "backgroundImageUrl": null, @@ -11670,8 +11671,8 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, - "outerMargin": true, + "margin": 12, + "outerMargin": false, "backgroundSizeMode": "100%", "minColumns": 12, "viewFormat": "grid", @@ -11716,7 +11717,7 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, + "margin": 12, "outerMargin": true, "backgroundSizeMode": "100%", "minColumns": 12, @@ -11748,8 +11749,8 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, - "outerMargin": true, + "margin": 12, + "outerMargin": false, "backgroundSizeMode": "100%", "minColumns": 12, "viewFormat": "grid", @@ -11794,7 +11795,7 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, + "margin": 12, "outerMargin": true, "backgroundSizeMode": "100%", "minColumns": 12, @@ -11826,8 +11827,8 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, - "outerMargin": true, + "margin": 12, + "outerMargin": false, "backgroundSizeMode": "100%", "minColumns": 12, "viewFormat": "grid", @@ -11872,7 +11873,7 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, + "margin": 12, "outerMargin": true, "backgroundSizeMode": "100%", "minColumns": 12, @@ -11904,8 +11905,8 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, - "outerMargin": true, + "margin": 12, + "outerMargin": false, "backgroundSizeMode": "100%", "minColumns": 12, "viewFormat": "grid", @@ -11951,7 +11952,7 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, + "margin": 12, "outerMargin": true, "backgroundSizeMode": "100%", "minColumns": 12, @@ -11983,8 +11984,8 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, - "outerMargin": true, + "margin": 12, + "outerMargin": false, "backgroundSizeMode": "100%", "minColumns": 12, "viewFormat": "grid", @@ -12030,7 +12031,7 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, + "margin": 12, "outerMargin": true, "backgroundSizeMode": "100%", "minColumns": 12, @@ -12062,8 +12063,8 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, - "outerMargin": true, + "margin": 12, + "outerMargin": false, "backgroundSizeMode": "100%", "minColumns": 12, "viewFormat": "grid", @@ -12108,7 +12109,7 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, + "margin": 12, "outerMargin": true, "backgroundSizeMode": "100%", "minColumns": 12, @@ -12140,8 +12141,8 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, - "outerMargin": true, + "margin": 12, + "outerMargin": false, "backgroundSizeMode": "100%", "minColumns": 12, "viewFormat": "grid", @@ -12187,7 +12188,7 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, + "margin": 12, "outerMargin": true, "backgroundSizeMode": "100%", "minColumns": 12, @@ -12219,8 +12220,8 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, - "outerMargin": true, + "margin": 12, + "outerMargin": false, "backgroundSizeMode": "100%", "minColumns": 12, "viewFormat": "grid", @@ -12266,7 +12267,7 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, + "margin": 12, "outerMargin": true, "backgroundSizeMode": "100%", "minColumns": 12, @@ -12298,8 +12299,8 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, - "outerMargin": true, + "margin": 12, + "outerMargin": false, "backgroundSizeMode": "100%", "minColumns": 12, "viewFormat": "grid", @@ -12345,7 +12346,7 @@ "layoutType": "divider", "backgroundColor": "#eeeeee", "columns": 12, - "margin": 8, + "margin": 12, "outerMargin": true, "backgroundSizeMode": "100%", "minColumns": 12,