fixed up spacing above & below lists

fixed `no changes` spacing
This commit is contained in:
Phil Hughes 2018-05-17 08:47:00 +01:00
parent d3426a5f00
commit 92b0cefb95
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F

View file

@ -41,6 +41,7 @@
flex: 1; flex: 1;
padding-left: $gl-padding; padding-left: $gl-padding;
padding-right: $gl-padding; padding-right: $gl-padding;
padding-bottom: $grid-size;
.file { .file {
cursor: pointer; cursor: pointer;
@ -523,7 +524,7 @@
.multi-file-commit-list { .multi-file-commit-list {
flex: 1; flex: 1;
overflow: auto; overflow: auto;
padding: $gl-padding 0; padding: $grid-size 0;
margin-left: -$grid-size; margin-left: -$grid-size;
margin-right: -$grid-size; margin-right: -$grid-size;
min-height: 60px; min-height: 60px;
@ -532,6 +533,11 @@
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;
} }
&.help-block {
margin-left: 0;
right: 0;
}
} }
.multi-file-commit-list-item { .multi-file-commit-list-item {
@ -994,6 +1000,7 @@
.ide-tree-header { .ide-tree-header {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 8px;
padding: 12px 0; padding: 12px 0;
border-bottom: 1px solid $white-dark; border-bottom: 1px solid $white-dark;