@@ -82,6 +82,8 @@
color: #5db0d7; }
.insp-wrapper .tab-panel {
height: 100%; }
+ .insp-wrapper .tab-panel.searchable {
+ height: calc(100% - 30px - 10px); }
.insp-wrapper .tab-panel .scene-actions {
overflow-y: auto; }
.insp-wrapper .tab-panel .scene-actions .actions-title {
@@ -1955,6 +1955,7 @@ var INSPECTOR;
_this._inspector = insp;
// Build the properties panel : a div that will contains the tree and the detail panel
_this._panel = INSPECTOR.Helpers.CreateDiv('tab-panel');
+ _this._panel.classList.add('searchable');
// Search bar
_this._searchBar = new INSPECTOR.SearchBar(_this);
// Add searchbar
@@ -42,7 +42,7 @@
#game-canvas {
position:absolute;
width:100%;
- height:100%;
+ height:650px;
top:0;
left : 150px;
}
@@ -1,5 +1,8 @@
.tab-panel {
height:100%;
+ &.searchable {
+ height:calc(100% - #{$searchbar-height} - 10px);
+ }
.scene-actions {
overflow-y: auto;
@@ -23,6 +23,7 @@ module INSPECTOR{
this._panel = Helpers.CreateDiv('tab-panel') as HTMLDivElement;
+ this._panel.classList.add('searchable');
this._searchBar = new SearchBar(this);