Parameter dropdown menu styling fix - close button and title persistent, only parameter tree itself scrolls

This commit is contained in:
PAJohnson
2020-09-24 20:46:01 -04:00
parent ca567c5d91
commit 3e43a80e7d
+7 -3
View File
@@ -7,11 +7,13 @@
<button class="close-button" @click="hideTree">X</button>
Parameters
</div>
<div class="param-tree">
<json-view
v-bind:data="odriveConfigs"
v-bind:rootKey="'odrives'"
v-on:selected="addVarToElement"
/>
</div>
</div>
</div>
<div class="dashboard_container">
@@ -262,15 +264,17 @@ export default {
.dropdown {
position: absolute;
padding: var(--top-height) 0;
padding: 0 0;
display: inline-block;
}
.dropdown-content {
position: absolute;
z-index: 1;
padding: var(--top-height) 0;
max-height: 90vh;
}
.param-tree {
overflow-y: scroll;
max-height: 85vh;
}
</style>