Change angular panel display behavior (#1344)

* got it working

* remove unneeded code

* formatting

* added scrollable, dashboard tabs don't scroll correctly though

* fix all bugs I could find

* address comments
This commit is contained in:
Anthony Dresser
2018-05-10 09:27:41 -07:00
committed by GitHub
parent f4cfb4a5ef
commit 23ec6ac567
30 changed files with 282 additions and 225 deletions

View File

@@ -21,6 +21,12 @@ panel {
.tabbedPanel .composite.title {
display: flex;
flex: 0 0 auto;
position: relative;
}
.tabbedPanel .tabContainer {
flex: 1 1 auto;
overflow: hidden;
}
.tabbedPanel .tabList {
@@ -31,6 +37,7 @@ panel {
line-height: 35px;
white-space: nowrap;
flex: 1;
height: 100%;
}
.tabbedPanel .tabList .tab {
@@ -88,17 +95,13 @@ panel {
}
.composite.title .title-actions {
flex: 1 1 auto;
flex: 0 0 auto;
}
.tab > .tabLabel.active {
border-bottom: 1px solid;
}
.composite.title ~ tab.fullsize > :first-child {
height: calc(100% - 38px);
}
.tabbedPanel .title-actions .panel-actions .actions-container {
justify-content: flex-start;
}