mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 23:16:01 -03:30
Fixes scroll of devices over inventory toolbox title.
Fixes a defect where the devices in the inventory toolbox would scroll over the toolbox title. This moves the title later in the rendering order and adds a background to the title.
This commit is contained in:
@@ -6,11 +6,7 @@
|
|||||||
ng-attr-width="{{toolbox.width}}"
|
ng-attr-width="{{toolbox.width}}"
|
||||||
ng-attr-height="{{toolbox.height}}"
|
ng-attr-height="{{toolbox.height}}"
|
||||||
rx=5></rect>
|
rx=5></rect>
|
||||||
<text
|
|
||||||
class="NetworkUI__toolbox--title"
|
|
||||||
ng-attr-transform="translate({{toolbox.title_coordinates.x}},{{toolbox.title_coordinates.y}})">
|
|
||||||
{{toolbox.name}}
|
|
||||||
</text>
|
|
||||||
|
|
||||||
<g clip-path="url(#inventory-toolbox-clip-path)">
|
<g clip-path="url(#inventory-toolbox-clip-path)">
|
||||||
<g ng-attr-transform="translate({{toolbox.x}}, {{toolbox.y+20}})">
|
<g ng-attr-transform="translate({{toolbox.x}}, {{toolbox.y+20}})">
|
||||||
@@ -92,4 +88,10 @@
|
|||||||
</g> <!-- end selected item -->
|
</g> <!-- end selected item -->
|
||||||
</g> <!-- ng-if -->
|
</g> <!-- ng-if -->
|
||||||
</g> <!-- ng-if toolbox.enabled -->
|
</g> <!-- ng-if toolbox.enabled -->
|
||||||
|
<text
|
||||||
|
class="NetworkUI__toolbox--title"
|
||||||
|
filter="url(#background)"
|
||||||
|
ng-attr-transform="translate({{toolbox.title_coordinates.x}},{{toolbox.title_coordinates.y}})">
|
||||||
|
{{toolbox.name}}
|
||||||
|
</text>
|
||||||
</g> <!-- ng-if !hide_menus -->
|
</g> <!-- ng-if !hide_menus -->
|
||||||
|
|||||||
Reference in New Issue
Block a user