Commit 0c5740a2 authored by Paul Slaughter's avatar Paul Slaughter

Rename 'dragleft' and 'dragright' to 'drag-left' and 'drag-right'

parent 818a8314
......@@ -32,7 +32,7 @@
},
computed: {
className() {
return `drag${this.side}`;
return `drag-${this.side}`;
},
cursorStyle() {
if (this.enabled) {
......
......@@ -788,11 +788,11 @@
width: 4px;
background-color: $white-dark;
&.dragright {
&.drag-right {
right: 0;
}
&.dragleft {
&.drag-left {
left: 0;
}
}
......
......@@ -29,7 +29,7 @@ describe('Panel Resizer component', () => {
});
expect(vm.$el.tagName).toEqual('DIV');
expect(vm.$el.getAttribute('class')).toBe('drag-handle dragleft');
expect(vm.$el.getAttribute('class')).toBe('drag-handle drag-left');
expect(vm.$el.getAttribute('style')).toBe('cursor: ew-resize;');
});
......@@ -40,7 +40,7 @@ describe('Panel Resizer component', () => {
});
expect(vm.$el.tagName).toEqual('DIV');
expect(vm.$el.getAttribute('class')).toBe('drag-handle dragright');
expect(vm.$el.getAttribute('class')).toBe('drag-handle drag-right');
});
it('drag the resizer', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment