Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
818a8314
Commit
818a8314
authored
Jul 24, 2018
by
Paul Slaughter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename class dragHandle to drag-handle
parent
a7572ee7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/vue_shared/components/panel_resizer.vue
...ssets/javascripts/vue_shared/components/panel_resizer.vue
+1
-1
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+1
-1
spec/javascripts/vue_shared/components/panel_resizer_spec.js
spec/javascripts/vue_shared/components/panel_resizer_spec.js
+2
-2
No files found.
app/assets/javascripts/vue_shared/components/panel_resizer.vue
View file @
818a8314
...
...
@@ -84,7 +84,7 @@
<div
:class=
"className"
:style=
"cursorStyle"
class=
"drag
H
andle"
class=
"drag
-h
andle"
@
mousedown=
"startDrag"
@
dblclick=
"resetSize"
></div>
...
...
app/assets/stylesheets/pages/repo.scss
View file @
818a8314
...
...
@@ -781,7 +781,7 @@
}
}
.drag
H
andle
{
.drag
-h
andle
{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
...
...
spec/javascripts/vue_shared/components/panel_resizer_spec.js
View file @
818a8314
...
...
@@ -29,7 +29,7 @@ describe('Panel Resizer component', () => {
});
expect
(
vm
.
$el
.
tagName
).
toEqual
(
'
DIV
'
);
expect
(
vm
.
$el
.
getAttribute
(
'
class
'
)).
toBe
(
'
drag
H
andle dragleft
'
);
expect
(
vm
.
$el
.
getAttribute
(
'
class
'
)).
toBe
(
'
drag
-h
andle dragleft
'
);
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
H
andle dragright
'
);
expect
(
vm
.
$el
.
getAttribute
(
'
class
'
)).
toBe
(
'
drag
-h
andle dragright
'
);
});
it
(
'
drag the resizer
'
,
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment