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
78957609
Commit
78957609
authored
Sep 12, 2017
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make issue boards sidebar full height
parent
93044dec
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
19 deletions
+16
-19
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-0
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+9
-13
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+2
-2
app/views/shared/boards/_show.html.haml
app/views/shared/boards/_show.html.haml
+4
-4
No files found.
app/assets/stylesheets/framework/variables.scss
View file @
78957609
...
...
@@ -7,6 +7,7 @@ $gutter_inner_width: 250px;
$sidebar-transition-duration
:
.15s
;
$sidebar-breakpoint
:
1024px
;
$default-transition-duration
:
.15s
;
$right-sidebar-transition-duration
:
.3s
;
/*
* Color schema
...
...
app/assets/stylesheets/pages/boards.scss
View file @
78957609
...
...
@@ -85,6 +85,15 @@
.boards-app
{
position
:
relative
;
@media
(
min-width
:
$screen-sm-min
)
{
transition
:
width
$right-sidebar-transition-duration
;
width
:
100%
;
&
.is-compact
{
width
:
calc
(
100%
-
#{
$gutter_width
}
);
}
}
}
.boards-app-loading
{
...
...
@@ -108,11 +117,6 @@
height
:
calc
(
100vh
-
222px
);
// scss-lint:enable DuplicateProperty
min-height
:
475px
;
transition
:
width
.2s
;
&
.is-compact
{
width
:
calc
(
100%
-
290px
);
}
}
}
...
...
@@ -469,14 +473,6 @@
.page-with-layout-nav.page-with-sub-nav
.issue-boards-sidebar
,
.page-with-new-sidebar.page-with-sidebar
.issue-boards-sidebar
{
position
:
absolute
;
&
.right-sidebar
{
top
:
0
;
bottom
:
0
;
height
:
100%
;
}
.issuable-sidebar-header
{
position
:
relative
;
}
...
...
app/assets/stylesheets/pages/issuable.scss
View file @
78957609
...
...
@@ -223,14 +223,14 @@
top
:
$new-navbar-height
;
bottom
:
0
;
right
:
0
;
transition
:
width
.3s
;
transition
:
width
$right-sidebar-transition-duration
;
background
:
$gray-light
;
z-index
:
200
;
overflow
:
hidden
;
.issuable-sidebar
{
width
:
calc
(
100%
+
100px
);
height
:
calc
(
100%
-
#{
$new-navbar-height
}
)
;
height
:
100%
;
overflow-y
:
scroll
;
overflow-x
:
hidden
;
-webkit-overflow-scrolling
:
touch
;
...
...
app/views/shared/boards/_show.html.haml
View file @
78957609
...
...
@@ -14,11 +14,11 @@
%script
#js-board-modal-filter
{
type:
"text/x-template"
}=
render
"shared/issuable/search_bar"
,
type: :boards_modal
%script
#js-board-promotion
{
type:
"text/x-template"
}=
render
"shared/promotions/promote_issue_board"
.hidden-xs.hidden-sm
#board-app
.boards-app
{
"v-cloak"
=>
true
,
data:
board_data
,
":class"
=>
"{ 'is-compact': detailIssueVisible }"
}
.hidden-xs.hidden-sm
=
render
'shared/issuable/search_bar'
,
type: :boards
,
board:
board
#board-app
.boards-app
{
"v-cloak"
=>
true
,
data:
board_data
}
.boards-list
{
":class"
=>
"{ 'is-compact': detailIssueVisible }"
}
.boards-list
.boards-app-loading.text-center
{
"v-if"
=>
"loading"
}
=
icon
(
"spinner spin"
)
%board
{
"v-cloak"
=>
true
,
...
...
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