[Frontend] Bug fixing

open #729
open #498
Fixed markup to use proper CSS classes
to allow tree items in Inspector Elements to
ellipsize properly, and to apply scroll regions
to the proper elements;
This commit is contained in:
Charles Hacskaylo 2016-03-10 14:33:01 -08:00
parent 4983d35ca6
commit a4c5854561
2 changed files with 7 additions and 4 deletions

View File

@ -19,16 +19,19 @@
this source code distribution or the Licensing information page available this source code distribution or the Licensing information page available
at runtime from the About dialog for additional information. at runtime from the About dialog for additional information.
--> -->
<div ng-controller="ElementsController"> <div ng-controller="ElementsController" class="flex-elem l-flex-col holder grows">
<mct-include key="'input-filter'" <mct-include key="'input-filter'"
class="flex-elem holder" class="flex-elem holder"
ng-model="filterBy"> ng-model="filterBy">
</mct-include> </mct-include>
<div class="current-elements abs" style="height: 100%;"> <div class="flex-elem grows vscroll">
<ul class="tree"> <ul class="tree">
<li ng-repeat="containedObject in composition | filter:searchText"> <li ng-repeat="containedObject in composition | filter:searchText">
<span class="tree-item"> <span class="tree-item">
<mct-representation key="'label'" mct-object="containedObject"> <mct-representation
class="rep-object-label"
key="'label'"
mct-object="containedObject">
</mct-representation> </mct-representation>
</span> </span>
</li> </li>

View File

@ -40,7 +40,7 @@
<mct-representation <mct-representation
key="'edit-elements'" key="'edit-elements'"
mct-object="domainObject" mct-object="domainObject"
class="flex-elem holder grows vscroll current-elements"> class="flex-elem l-flex-col holder grows current-elements">
</mct-representation> </mct-representation>
</div> </div>
</div> </div>