superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: [minor] fix padding in Time Table (#3664)
Date Tue, 17 Oct 2017 00:01:39 GMT
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 <maximebeauchemin@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" <commits@superset.apache.org>'].

Mime
View raw message