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
0c5740a2
Commit
0c5740a2
authored
Jul 24, 2018
by
Paul Slaughter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename 'dragleft' and 'dragright' to 'drag-left' and 'drag-right'
parent
818a8314
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
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
+2
-2
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 @
0c5740a2
...
...
@@ -32,7 +32,7 @@
},
computed
:
{
className
()
{
return
`drag
${
this
.
side
}
`
;
return
`drag
-
${
this
.
side
}
`
;
},
cursorStyle
()
{
if
(
this
.
enabled
)
{
...
...
app/assets/stylesheets/pages/repo.scss
View file @
0c5740a2
...
...
@@ -788,11 +788,11 @@
width
:
4px
;
background-color
:
$white-dark
;
&
.dragright
{
&
.drag
-
right
{
right
:
0
;
}
&
.dragleft
{
&
.drag
-
left
{
left
:
0
;
}
}
...
...
spec/javascripts/vue_shared/components/panel_resizer_spec.js
View file @
0c5740a2
...
...
@@ -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
'
,
()
=>
{
...
...
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