move tabs below location bar

pages: move sidebar below search bar, hide if no lists
use 'min-height: 0' to finally fix flexbox layout on all tabs!
This commit is contained in:
Ilya Kreymer
2020-08-04 23:12:44 -07:00
parent bb20379336
commit 6b343e7e65
4 changed files with 191 additions and 162 deletions
+9 -2
View File
@@ -197,15 +197,16 @@ class URLResources extends LitElement
static get styles() {
return wrapCss(css`
:host {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
height: 100%;
}
.notification {
width: 100%;
}
.main-scroll {
height: calc(100vh - 180px);
/*height: calc(100vh - 180px);*/
flex-grow: 1;
width: 100vw;
}
@@ -214,6 +215,12 @@ class URLResources extends LitElement
word-wrap: break-word;
text-overflow: ellipsis;
height: 100%;
display: flex;
flex-direction: column;
min-height: 0;
}
thead {
display: table;
}
tr > th {
cursor: pointer;