diff options
author | Alexander Shubin <aleksandrs.subins@zabbix.com> | 2022-10-18 19:11:39 +0300 |
---|---|---|
committer | Alexander Shubin <aleksandrs.subins@zabbix.com> | 2022-10-18 19:11:39 +0300 |
commit | bd2406082c101edfa0df912e1b42d0f2d7750a06 (patch) | |
tree | a8874e453ceeca8a76b9bf9947a28069bfe713ad /sass | |
parent | 3dbd76ceed1eb5b40bfb5283d2c09910c696232b (diff) |
..F....... [ZBXNEXT-7469] fixed svggraph widget
Diffstat (limited to 'sass')
-rw-r--r-- | sass/stylesheets/sass/components/dashboard/_widget-svggraph.scss | 22 | ||||
-rw-r--r-- | sass/stylesheets/sass/layout/_form-grid.scss | 1 | ||||
-rw-r--r-- | sass/stylesheets/sass/screen.scss | 17 |
3 files changed, 18 insertions, 22 deletions
diff --git a/sass/stylesheets/sass/components/dashboard/_widget-svggraph.scss b/sass/stylesheets/sass/components/dashboard/_widget-svggraph.scss index 73e75430245..8294f5cfeaf 100644 --- a/sass/stylesheets/sass/components/dashboard/_widget-svggraph.scss +++ b/sass/stylesheets/sass/components/dashboard/_widget-svggraph.scss @@ -6,12 +6,25 @@ form.dashboard-widget-svggraph { grid-column: 1 / -1; } - .graph-widget-config-tabs { - padding: 10px 0; + .svg-graph-preview { + position: relative; + min-width: 1110px; + height: 300px; + > div { + position: absolute; + top: 0; + right: 0; + left: 0; + margin: 0 -10px; + height: 300px; + background: $ui-bg-color; + z-index: 3; + } + } + + .graph-widget-config-tabs { > .tabs-nav { - margin-right: 0; - margin-left: 0; border-top: 1px solid $ui-border-color; } @@ -24,6 +37,7 @@ form.dashboard-widget-svggraph { } .table-forms-container { + margin: -10px 0 0 0; border: 1px solid $ui-border-color; border-top: none; } diff --git a/sass/stylesheets/sass/layout/_form-grid.scss b/sass/stylesheets/sass/layout/_form-grid.scss index 15b4aef2e4f..ebd643498df 100644 --- a/sass/stylesheets/sass/layout/_form-grid.scss +++ b/sass/stylesheets/sass/layout/_form-grid.scss @@ -1,6 +1,5 @@ .form-grid { display: grid; - padding: 5px; row-gap: 10px; column-gap: 10px; diff --git a/sass/stylesheets/sass/screen.scss b/sass/stylesheets/sass/screen.scss index 85f91c6f590..775c4adab2b 100644 --- a/sass/stylesheets/sass/screen.scss +++ b/sass/stylesheets/sass/screen.scss @@ -3742,23 +3742,6 @@ $form-icon-btn: ( stroke-width: 2px; } -.svg-graph-preview { - margin-top: 10px; - min-width: 1120px; - height: 300px; - position: relative; - - > div { - background: $ui-bg-color; - height: 300px; - position: absolute; - left: 0; - right: 0; - top: 0; - z-index: 3; // More than z-index of form controls, less than z-index of .msg-*. - } -} - .svg-graph-hintbox { font-size: 12px; line-height: 18px; |