You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2017/10/17 00:01:39 UTC

[incubator-superset] branch master updated: [minor] fix padding in Time Table (#3664)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 08f09b4  [minor] fix padding in Time Table (#3664)
08f09b4 is described below

commit 08f09b47615937337f232bd39361632564a15f81
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Mon Oct 16 17:01:35 2017 -0700

    [minor] fix padding in Time Table (#3664)
    
    When in dashboard view, the Time Table needs some paddding
---
 superset/assets/visualizations/time_table.css | 3 ++-
 superset/assets/visualizations/time_table.jsx | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/assets/visualizations/time_table.css b/superset/assets/visualizations/time_table.css
index 5f8a41b..251544a 100644
--- a/superset/assets/visualizations/time_table.css
+++ b/superset/assets/visualizations/time_table.css
@@ -1,3 +1,4 @@
-.time-table {
+.time_table .chart-container{
   overflow: auto;
+  padding: 10px;
 }
diff --git a/superset/assets/visualizations/time_table.jsx b/superset/assets/visualizations/time_table.jsx
index 9b687f1..a4d36f0 100644
--- a/superset/assets/visualizations/time_table.jsx
+++ b/superset/assets/visualizations/time_table.jsx
@@ -29,7 +29,6 @@ FormattedNumber.propTypes = {
 };
 
 function viz(slice, payload) {
-  slice.container.css('overflow', 'auto');
   slice.container.css('height', slice.height());
   const recs = payload.data.records;
   const fd = payload.form_data;

-- 
To stop receiving notification emails like this one, please contact
['"commits@superset.apache.org" <co...@superset.apache.org>'].