Commit 1de64675 authored by Phil Hughes's avatar Phil Hughes

Fixed cursor not changing when over the header

parent 5f7eff34
......@@ -82,6 +82,8 @@
this.updateNewListDropdown();
},
moveList: function (oldIndex, newIndex) {
if (oldIndex === newIndex) return;
const listFrom = this.findList('position', oldIndex),
listTo = this.findList('position', newIndex);
......
......@@ -38,6 +38,8 @@
.content-wrapper {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
}
.sub-nav,
......@@ -75,13 +77,15 @@
-webkit-flex: 1;
flex: 1;
min-height: calc(100vh - 152px);
max-height: calc(100vh - 152px);
padding-top: 25px;
padding-right: ($gl-padding / 2);
padding-left: ($gl-padding / 2);
overflow-x: scroll;
@media (min-width: $screen-sm-min) {
min-height: 455px;
min-height: 470px;
max-height: 470px;
}
}
......@@ -117,8 +121,11 @@
border-top-right-radius: $border-radius-default;
&.has-border {
padding-top: ($gl-padding - 3px);
border-top: 3px solid;
.board-title {
padding-top: ($gl-padding - 3px);
}
}
}
......@@ -129,7 +136,9 @@
.board-title {
margin: 0;
padding: $gl-padding;
font-size: 1em;
border-bottom: 1px solid $border-color;
}
.board-search-container {
......
......@@ -5,7 +5,7 @@
":disabled" => "#{current_user.nil?}" }
.board{ ":class" => "{ 'is-draggable': !isPreset }" }
.board-inner
%header.board-inner-container.board-header{ ":class" => "{ 'has-border': board.label }", ":style" => "{ borderTopColor: (board.label ? board.label.color : null) }" }
%header.board-header{ ":class" => "{ 'has-border': board.label }", ":style" => "{ borderTopColor: (board.label ? board.label.color : null) }" }
%h3.board-title.js-board-handle{ ":class" => "{ 'user-can-drag': !disabled }" }
{{ board.title }}
%span.pull-right{ "v-if" => "board.type !== 'blank'" }
......
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