misc fixes

This commit is contained in:
axolotle
2021-06-30 14:49:07 +02:00
parent 985da08730
commit 626673c0af
4 changed files with 21 additions and 4 deletions
+9 -1
View File
@@ -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;