Commit c1b9ff4d authored by dindigala's avatar dindigala
Browse files

Merge branch 'bugfix/minors' into 'develop'

fix: Fixed toggle buttons disappear, anchoring manifest title to top.

See merge request subugoe/emo/Qviewer!72
parents d4327bbc 928be0da
Pipeline #153616 passed with stages
in 5 minutes and 58 seconds
......@@ -3,7 +3,7 @@
<ToggleFilter>
<q-list class="toggle-list">
<div v-for="(p, i) in panels" :key="`toggle${i}`">
<q-item v-if="p.show"
<q-item
:class="$q.dark.isActive ? 'bg-black' : 'bg-grey-2'"
clickable
v-close-popup
......@@ -85,13 +85,13 @@ export default {
</script>
<style lang="scss" scoped>
button {
@media (min-width: 600px) {
margin-right: 8px;
}
button {
@media (min-width: 600px) {
margin-right: 8px;
}
}
button:last-of-type {
margin-right: 0;
}
button:last-of-type {
margin-right: 0;
}
</style>
......@@ -79,7 +79,7 @@ export default {
};
</script>
<style lang="scss" scoped>
<style lang="scss">
@import './src/css/helper';
.view-tree {
......@@ -88,6 +88,22 @@ export default {
overflow-y: scroll;
scrollbar-width: none;
.q-tree__node-collapsible .q-tree__children {
>.q-tree__node--parent {
>.q-tree__node-header {
background-color: $light;
left: 0;
position: sticky;
top: 0;
z-index: 999;
@media (prefers-color-scheme: dark) {
background-color: $grey-9;
}
}
}
}
.q-tree__node-header-content.col.row.no-wrap.items-center {
z-index: 99;
}
......
......@@ -80,7 +80,7 @@ export default {
connector: newConnectors,
};
});
return this.panels;
return this.panels.filter((p) => p.show);
},
},
mounted() {
......
Supports Markdown
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