Fix issue boards sidebar alignment and sidebar toggle spec
This commit is contained in:
parent
465316ec22
commit
0544c4ed76
2 changed files with 2 additions and 6 deletions
|
@ -298,12 +298,8 @@
|
||||||
|
|
||||||
.issue-boards-sidebar {
|
.issue-boards-sidebar {
|
||||||
&.right-sidebar {
|
&.right-sidebar {
|
||||||
top: 153px;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
||||||
@media (min-width: $screen-sm-min) {
|
|
||||||
top: 220px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.issuable-sidebar-header {
|
.issuable-sidebar-header {
|
||||||
|
|
|
@ -54,7 +54,7 @@ describe 'Issue Boards', feature: true, js: true do
|
||||||
|
|
||||||
expect(page).to have_selector('.issue-boards-sidebar')
|
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')
|
expect(page).not_to have_selector('.issue-boards-sidebar')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue