fixed weird 1px white space at top of sidebar

fixed create_directory_spec.rb
This commit is contained in:
Phil Hughes 2018-04-18 14:45:50 +01:00
parent d3e007d26d
commit 8673a2cae1
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F
2 changed files with 5 additions and 0 deletions

View file

@ -775,6 +775,9 @@
} }
&.active { &.active {
// extend width over border of sidebar section
width: calc(100% + 1px);
padding-right: $gl-padding + 1px;
background-color: $white-light; background-color: $white-light;
border-top-color: $white-dark; border-top-color: $white-dark;
border-bottom-color: $white-dark; border-bottom-color: $white-dark;

View file

@ -50,6 +50,8 @@ feature 'Multi-file editor new directory', :js do
click_button('Commit') click_button('Commit')
find('.js-ide-edit-mode').click
expect(page).to have_content('folder name') expect(page).to have_content('folder name')
end end
end end