Skip to content

Commit

Permalink
improve superset list view page layout
Browse files Browse the repository at this point in the history
- less header spaces and stacks
- move pagination down to bottom
- apply material design style to 'add' action button
- will apply to all superset list view, like slices list, security tab lists etc.
  • Loading branch information
Grace Guo committed Jun 27, 2017
1 parent 5ab4e17 commit b52ca14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion superset/assets/stylesheets/superset.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@ div.widget .slice_container {
.list-container .pagination-container .pagination {
margin: 0 15px;
}
.list-container .pagination-container strong {
margin-right: 5px;
}

.list-container .list-add-action {
position: absolute;
Expand All @@ -288,7 +291,7 @@ div.widget .slice_container {
}

.list-container .filter-action {
margin: 0 15px;
margin: 0 10px;
padding-bottom: 15px;
}

Expand Down
4 changes: 1 addition & 3 deletions superset/templates/appbuilder/general/widgets/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
}
}

$('.list-search-container').on('hidden.bs.dropdown', function () {
checkSearchButton();
});
$('.list-search-container').on('hidden.bs.dropdown', checkSearchButton());
$(document).ready(function() {
checkSearchButton();
});
Expand Down

0 comments on commit b52ca14

Please sign in to comment.