Remove extra margin at bottom of todos page

This commit is contained in:
Annabel Dunstone Gray 2017-03-24 11:00:12 -06:00
parent 35f8136479
commit b17523c19b
3 changed files with 9 additions and 2 deletions

View File

@ -176,6 +176,10 @@ summary {
&.panel-without-border { &.panel-without-border {
border: 0; border: 0;
} }
&.panel-without-margin {
margin: 0;
}
} }
.panel-succes .panel-heading, .panel-succes .panel-heading,

View File

@ -68,12 +68,11 @@
= link_to todos_filter_path(sort: sort_value_oldest_created) do = link_to todos_filter_path(sort: sort_value_oldest_created) do
= sort_title_oldest_created = sort_title_oldest_created
.js-todos-all .js-todos-all
- if @todos.any? - if @todos.any?
.js-todos-list-container .js-todos-list-container
.js-todos-options{ data: { per_page: @todos.limit_value, current_page: @todos.current_page, total_pages: @todos.total_pages } } .js-todos-options{ data: { per_page: @todos.limit_value, current_page: @todos.current_page, total_pages: @todos.total_pages } }
.panel.panel-default.panel-small.panel-without-border .panel.panel-default.panel-without-border.panel-without-margin
%ul.content-list.todos-list %ul.content-list.todos-list
= render @todos = render @todos
= paginate @todos, theme: "gitlab" = paginate @todos, theme: "gitlab"

View File

@ -0,0 +1,4 @@
---
title: Remove extra margin at bottom of todos page
merge_request:
author: