Commit 818a8314 authored by Paul Slaughter's avatar Paul Slaughter

Rename class dragHandle to drag-handle

parent a7572ee7
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<div <div
:class="className" :class="className"
:style="cursorStyle" :style="cursorStyle"
class="dragHandle" class="drag-handle"
@mousedown="startDrag" @mousedown="startDrag"
@dblclick="resetSize" @dblclick="resetSize"
></div> ></div>
......
...@@ -781,7 +781,7 @@ ...@@ -781,7 +781,7 @@
} }
} }
.dragHandle { .drag-handle {
position: absolute; position: absolute;
top: 0; top: 0;
bottom: 0; bottom: 0;
......
...@@ -29,7 +29,7 @@ describe('Panel Resizer component', () => { ...@@ -29,7 +29,7 @@ describe('Panel Resizer component', () => {
}); });
expect(vm.$el.tagName).toEqual('DIV'); expect(vm.$el.tagName).toEqual('DIV');
expect(vm.$el.getAttribute('class')).toBe('dragHandle dragleft'); expect(vm.$el.getAttribute('class')).toBe('drag-handle dragleft');
expect(vm.$el.getAttribute('style')).toBe('cursor: ew-resize;'); expect(vm.$el.getAttribute('style')).toBe('cursor: ew-resize;');
}); });
...@@ -40,7 +40,7 @@ describe('Panel Resizer component', () => { ...@@ -40,7 +40,7 @@ describe('Panel Resizer component', () => {
}); });
expect(vm.$el.tagName).toEqual('DIV'); expect(vm.$el.tagName).toEqual('DIV');
expect(vm.$el.getAttribute('class')).toBe('dragHandle dragright'); expect(vm.$el.getAttribute('class')).toBe('drag-handle dragright');
}); });
it('drag the resizer', () => { 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