Skip to content

Commit

Permalink
[minor] fix padding in Time Table (apache#3664)
Browse files Browse the repository at this point in the history
When in dashboard view, the Time Table needs some paddding
  • Loading branch information
mistercrunch authored Oct 17, 2017
1 parent 2a89c90 commit 08f09b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion superset/assets/visualizations/time_table.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.time-table {
.time_table .chart-container{
overflow: auto;
padding: 10px;
}
1 change: 0 additions & 1 deletion superset/assets/visualizations/time_table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 08f09b4

Please sign in to comment.