diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-11-20 03:16:26 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-11-20 03:16:26 +0300 |
commit | f149d7738831b74631c6dd336ed1333f88c66e6e (patch) | |
tree | c068d7d4f78e6b1ff8c16d894c402a446d41df2f /plugins | |
parent | 66c23edb516d5b565d2b29bd7b06d98a60f6b0af (diff) |
Fixes CSS position to solve overlay problems (#12023)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CoreHome/stylesheets/dataTable/_dataTable.less | 1 | ||||
-rwxr-xr-x | plugins/Dashboard/javascripts/dashboardWidget.js | 1 | ||||
-rw-r--r-- | plugins/Dashboard/stylesheets/widget.less | 7 |
3 files changed, 8 insertions, 1 deletions
diff --git a/plugins/CoreHome/stylesheets/dataTable/_dataTable.less b/plugins/CoreHome/stylesheets/dataTable/_dataTable.less index fe11180aa8..11e4582c2b 100644 --- a/plugins/CoreHome/stylesheets/dataTable/_dataTable.less +++ b/plugins/CoreHome/stylesheets/dataTable/_dataTable.less @@ -543,7 +543,6 @@ td.cellSubDataTable .loadingPiwik { .dataTableControls { text-align: left; - position: relative; padding-left: 0 !important; &.col { diff --git a/plugins/Dashboard/javascripts/dashboardWidget.js b/plugins/Dashboard/javascripts/dashboardWidget.js index 7f86767125..ce88cf1c8f 100755 --- a/plugins/Dashboard/javascripts/dashboardWidget.js +++ b/plugins/Dashboard/javascripts/dashboardWidget.js @@ -314,6 +314,7 @@ var self = this; this.element.dialog({ title: '', + dialogClass: 'widgetoverlay', modal: true, width: width, position: ['center', 'center'], diff --git a/plugins/Dashboard/stylesheets/widget.less b/plugins/Dashboard/stylesheets/widget.less index c441b9c663..d589681f66 100644 --- a/plugins/Dashboard/stylesheets/widget.less +++ b/plugins/Dashboard/stylesheets/widget.less @@ -149,3 +149,10 @@ .bar-graph-colors[data-name=grid-background] { color: @theme-color-widget-background !important; } + + +.widgetoverlay { + .widget, .ui-dialog-content { + position: static; + } +} |