sidebar: hide stack container when not needed

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iaa23b49ab7a90604c0eab7324411ecfd81656995
This commit is contained in:
Szymon Kłos 2022-11-28 10:12:52 +01:00 committed by pedropintosilva
parent 284b19a786
commit dcdb577a6a
2 changed files with 6 additions and 3 deletions

View file

@ -170,7 +170,7 @@ td.jsdialog > [id^='table-box']:not(.sidebar) {
}
.ui-tab.hidden.jsdialog {
display: none;
visibility: hidden;
}
.ui-tab.selected.jsdialog {

View file

@ -275,10 +275,13 @@ button#button2.ui-pushbutton.jsdialog.sidebar {
width: 100%;
}
.sidebar#ChartTypePanel #grid6 {
display: block;
.sidebar#ChartTypePanel #stack:not(.hidden) + #grid6 {
display: block !important;
}
.sidebar#ChartTypePanel #stack.hidden + #grid6 {
display: none;
}
/* not available commands*/