|
@@ -70,8 +70,10 @@ class ToolbarLayout extends PanelLayout {
|
|
|
// accommodate them.
|
|
|
if (some(this.widgets, w => !w.isHidden)) {
|
|
|
this.parent!.node.style.minHeight = 'var(--jp-private-toolbar-height)';
|
|
|
+ this.parent!.removeClass('jp-Toolbar-micro');
|
|
|
} else {
|
|
|
this.parent!.node.style.minHeight = '';
|
|
|
+ this.parent!.addClass('jp-Toolbar-micro');
|
|
|
}
|
|
|
}
|
|
|
|