提交 b17523c1 编写于 作者: A Annabel Dunstone Gray

Remove extra margin at bottom of todos page

上级 35f81364
...@@ -176,6 +176,10 @@ summary { ...@@ -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,
......
...@@ -68,12 +68,11 @@ ...@@ -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"
......
---
title: Remove extra margin at bottom of todos page
merge_request:
author:
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册