|
@@ -83,7 +83,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
onNodeViewClick (e, parentIndex, childIndex) {
|
|
|
- if (e.target.classList.contains('btn')) return
|
|
|
+ if (e.target.classList.contains('btn') || window.innerWidth < 1024) return
|
|
|
const parentIsLast = parentIndex === this.nodes.length - 1
|
|
|
const childIsLast = childIndex !== undefined
|
|
|
? childIndex === this.nodes[parentIndex].children.length - 1
|
|
@@ -110,6 +110,10 @@ export default {
|
|
|
.node-book {
|
|
|
min-height: 100%;
|
|
|
|
|
|
+ @include media-breakpoint-down($layout-bp-down) {
|
|
|
+ background-color: $white;
|
|
|
+ }
|
|
|
+
|
|
|
@include media-breakpoint-up($layout-bp) {
|
|
|
height: 100%;
|
|
|
|
|
@@ -172,6 +176,10 @@ export default {
|
|
|
}
|
|
|
|
|
|
&:not(.active) {
|
|
|
+ .node-view {
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+
|
|
|
::v-deep {
|
|
|
.node-view {
|
|
|
// overflow-y: hidden;
|