Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
c150570403
commit
331cdcceef
|
@ -45,7 +45,7 @@ export default {
|
|||
},
|
||||
levelIndentation() {
|
||||
return {
|
||||
marginLeft: this.level ? `${this.level * 16}px` : null,
|
||||
marginLeft: this.level ? `${this.level * 8}px` : null,
|
||||
};
|
||||
},
|
||||
fileClass() {
|
||||
|
|
|
@ -106,7 +106,7 @@ describe('File row component', () => {
|
|||
level: 2,
|
||||
});
|
||||
|
||||
expect(wrapper.find('.file-row-name').element.style.marginLeft).toBe('32px');
|
||||
expect(wrapper.find('.file-row-name').element.style.marginLeft).toBe('16px');
|
||||
});
|
||||
|
||||
it('renders header for file', () => {
|
||||
|
|
Loading…
Reference in New Issue