Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKate Butler <kate@innocraft.com>2019-08-14 02:43:37 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-08-14 02:43:37 +0300
commit85932196aa30e93cc0c28d4445b081b7f710c8ae (patch)
tree2b8336caa64d7ca5d5893d27625e4b63c3982ef4 /plugins/CoreHome/javascripts
parentf71a9f23b80bdcf93b0b5762b405888b083277ed (diff)
Freeze left-hand column of data table (#14594)
* Freeze left-hand column of data table * Freeze left-hand column of datatable * Don't use position-absolute on first th as it messes with column placement. * Use a spacer column to prevent label column from overlapping with first value column * Set margin of second td * Use position:sticky * Fix missing border in Safari/Firefox * Cross-browser fixes * Increase space available for first data column * Don't put dataTableScroller around non-HTML table vizs * Only apply negative margin/width to datatables in widgets * Reduce border radius to adjust for border-collapse: separate * Updated reference screenshots * UI test fixes * Don't let live widget overflow dashboard card * Updated reference images * Reduce left margin to make data action icons visible on smaller screens * Update reference images * Back out change to TestSetupFixture (should not have been committed on this branch) to avoid merge conflicts * Update UI screenshots
Diffstat (limited to 'plugins/CoreHome/javascripts')
-rw-r--r--plugins/CoreHome/javascripts/dataTable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index d59c691d3c..71dd8e78b7 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -1956,7 +1956,7 @@ $.extend(DataTable.prototype, UIControl.prototype, {
}
actions.height(tr.innerHeight() - 6);
- actions.css('marginLeft', (td.width() + 3 - actions.outerWidth()) + 'px');
+ actions.css('marginLeft', (td.width() - 3 - actions.outerWidth()) + 'px');
},
_findReportHeader: function (domElem) {