[Fix] selected tree-item view now also has defined height

This commit is contained in:
Robert von Burg 2020-07-09 14:12:46 +02:00
parent 5ed46950f9
commit 259d199c3c
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "strolch-wc-inspector", "name": "strolch-wc-inspector",
"description": "Strolch WebComponent Inspector", "description": "Strolch WebComponent Inspector",
"version": "0.19.7", "version": "0.19.8",
"authors": ["Robert von Burg"], "authors": ["Robert von Burg"],
"keywords": [ "keywords": [
"strolch", "strolch",

View File

@ -73,7 +73,7 @@
display: flex; display: flex;
} }
.tree-view { .tree-view, .tree-item {
overflow: auto; overflow: auto;
height: calc(100vh - 115px - var(--header-height)); height: calc(100vh - 115px - var(--header-height));
} }
@ -174,7 +174,7 @@
<strolch-wc-tree title-html func-obj="{{funcObj}}" elements="[[elements]]" /> <strolch-wc-tree title-html func-obj="{{funcObj}}" elements="[[elements]]" />
</paper-card> </paper-card>
<paper-card class="item"> <paper-card class="tree-item">
<template is="dom-if" if="[[!selectedItem]]"> <template is="dom-if" if="[[!selectedItem]]">
<p class="g-center"><i>Select an item in the tree view</i></p> <p class="g-center"><i>Select an item in the tree view</i></p>