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

Fixed cursor not changing when over the header

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