Fix issue boards sidebar alignment and sidebar toggle spec

This commit is contained in:
Annabel Dunstone Gray 2017-01-26 08:57:42 -06:00
parent 465316ec22
commit 0544c4ed76
2 changed files with 2 additions and 6 deletions

View file

@ -298,12 +298,8 @@
.issue-boards-sidebar {
&.right-sidebar {
top: 153px;
top: 0;
bottom: 0;
@media (min-width: $screen-sm-min) {
top: 220px;
}
}
.issuable-sidebar-header {

View file

@ -54,7 +54,7 @@ describe 'Issue Boards', feature: true, js: true do
expect(page).to have_selector('.issue-boards-sidebar')
find('.gutter-toggle').click
find('.gutter-toggle').trigger('click')
expect(page).not_to have_selector('.issue-boards-sidebar')
end