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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
8e3fd88e
Commit
8e3fd88e
authored
Aug 05, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved the mobile UI
parent
8bdf4cc2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
7 deletions
+18
-7
app/assets/javascripts/boards/boards_bundle.js.es6
app/assets/javascripts/boards/boards_bundle.js.es6
+2
-0
app/assets/javascripts/boards/components/board_list.js.es6
app/assets/javascripts/boards/components/board_list.js.es6
+1
-1
app/assets/javascripts/boards/mixins/sortable_default_options.js.es6
...javascripts/boards/mixins/sortable_default_options.js.es6
+3
-3
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+12
-3
No files found.
app/assets/javascripts/boards/boards_bundle.js.es6
View file @
8e3fd88e
...
@@ -33,6 +33,8 @@ $(function () {
...
@@ -33,6 +33,8 @@ $(function () {
if (list.type === 'done') {
if (list.type === 'done') {
list.position = 9999999;
list.position = 9999999;
} else if (list.type === 'backlog') {
list.position = -1;
}
}
});
});
...
...
app/assets/javascripts/boards/components/board_list.js.es6
View file @
8e3fd88e
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
},
},
ready: function () {
ready: function () {
const options = _.extend({
const options = _.extend({
sort: false,
//
sort: false,
group: 'issues',
group: 'issues',
disabled: this.disabled,
disabled: this.disabled,
onAdd: function (e) {
onAdd: function (e) {
...
...
app/assets/javascripts/boards/mixins/sortable_default_options.js.es6
View file @
8e3fd88e
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
}
}
gl.boardSortableDefaultOptions = {
gl.boardSortableDefaultOptions = {
animation: 150,
forceFallback: true,
forceFallback: true,
fallbackClass: 'is-dragging',
fallbackClass: 'is-dragging',
fallbackOnBody: true,
ghostClass: 'is-ghost',
ghostClass: 'is-ghost',
scrollSensitivity:
1
50,
scrollSensitivity: 50,
scrollSpeed:
5
0,
scrollSpeed:
1
0,
onStart: function () {
onStart: function () {
document.body.classList.add('is-dragging');
document.body.classList.add('is-dragging');
},
},
...
...
app/assets/stylesheets/pages/boards.scss
View file @
8e3fd88e
...
@@ -69,21 +69,30 @@
...
@@ -69,21 +69,30 @@
display
:
flex
;
display
:
flex
;
-webkit-flex
:
1
;
-webkit-flex
:
1
;
flex
:
1
;
flex
:
1
;
min-height
:
455px
;
min-height
:
calc
(
100vh
-
152px
)
;
padding-top
:
25px
;
padding-top
:
25px
;
padding-right
:
(
$gl-padding
/
2
);
padding-right
:
(
$gl-padding
/
2
);
padding-left
:
(
$gl-padding
/
2
);
padding-left
:
(
$gl-padding
/
2
);
overflow-x
:
scroll
;
overflow-x
:
scroll
;
@media
(
min-width
:
$screen-sm-min
)
{
min-height
:
455px
;
}
}
}
.board
{
.board
{
display
:
-
webkit-flex
;
display
:
-
webkit-flex
;
display
:
flex
;
display
:
flex
;
min-width
:
400px
;
min-width
:
calc
(
100vw
-
15px
)
;
max-width
:
400px
;
max-width
:
calc
(
100vw
-
15px
)
;
margin-bottom
:
25px
;
margin-bottom
:
25px
;
padding-right
:
(
$gl-padding
/
2
);
padding-right
:
(
$gl-padding
/
2
);
padding-left
:
(
$gl-padding
/
2
);
padding-left
:
(
$gl-padding
/
2
);
@media
(
min-width
:
$screen-sm-min
)
{
min-width
:
400px
;
max-width
:
400px
;
}
}
}
.board-inner
{
.board-inner
{
...
...
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