You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by gr...@apache.org on 2017/11/21 18:23:50 UTC

[incubator-superset] branch master updated: [cosmetic] remove border from table viz (#3916)

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

graceguo 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 ac43249  [cosmetic] remove border from table viz (#3916)
ac43249 is described below

commit ac432495d75e3be2f6cf1392217abb9397fc9908
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Tue Nov 21 10:23:48 2017 -0800

    [cosmetic] remove border from table viz (#3916)
---
 superset/assets/visualizations/table.css | 11 +++++++++--
 superset/assets/visualizations/table.js  |  2 +-
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/superset/assets/visualizations/table.css b/superset/assets/visualizations/table.css
index bc62227..a5b8462 100644
--- a/superset/assets/visualizations/table.css
+++ b/superset/assets/visualizations/table.css
@@ -2,8 +2,10 @@
     overflow: auto !important;
 }
 
-.widget.table table {
-    margin: 0px !important;
+.slice_container.table table.table {
+  margin: 0px !important;
+  background: transparent;
+  background-color: white;
 }
 
 .widget.table td.filtered {
@@ -31,3 +33,8 @@ table.table thead th.sorting:after, table.table thead th.sorting_asc:after, tabl
 .widget.table thead tr {
   height: 25px;
 }
+
+.dashboard .slice_container.table {
+  padding-left: 10px;
+  padding-right: 10px;
+}
diff --git a/superset/assets/visualizations/table.js b/superset/assets/visualizations/table.js
index 2e845b9..755ac1c 100644
--- a/superset/assets/visualizations/table.js
+++ b/superset/assets/visualizations/table.js
@@ -40,7 +40,7 @@ function tableVis(slice, payload) {
   div.html('');
   const table = div.append('table')
     .classed(
-      'dataframe dataframe table table-striped table-bordered ' +
+      'dataframe dataframe table table-striped ' +
       'table-condensed table-hover dataTable no-footer', true)
     .attr('width', '100%');
 

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