fix: Improve rendering on tree

pull/588/head
Raphaël Vinot 2023-01-24 15:00:15 +01:00
parent c4998b7122
commit b020184b1f
1 changed files with 12 additions and 14 deletions

View File

@ -169,18 +169,16 @@
</a> </a>
</div> </div>
<hr/> <hr/>
<center> <div class="mx-auto" style="width: 52px;">
<div> <button type="button" class="btn btn-link" data-bs-toggle="collapse" data-bs-target="#menu_vertical_content">
<button type="button" class="btn btn-link" data-bs-toggle="collapse" data-bs-target="#menu_vertical_content"> <span class="if-collapsed">
<span class="if-collapsed"> <img src="{{ url_for('static', filename='up.jpg') }}" class="arrow-down" alt="Maximize menu" height="25" width="25" title="Expand">
<img src="{{ url_for('static', filename='up.jpg') }}" class="arrow-down" alt="Maximize menu" height="25" width="25" title="Expand"> </span>
</span> <span class="if-not-collapsed">
<span class="if-not-collapsed"> <img src="{{ url_for('static', filename='up.jpg') }}" alt="Minimize menu" height="25" width="25" title="Collapse">
<img src="{{ url_for('static', filename='up.jpg') }}" alt="Minimize menu" height="25" width="25" title="Collapse"> </span>
</span> </button>
</button> </div>
</div>
</center>
<hr/> <hr/>
<div id=menu_vertical_content class="collapse show"> <div id=menu_vertical_content class="collapse show">
<ul class="list-group list-group-flush"> <ul class="list-group list-group-flush">
@ -206,8 +204,8 @@
<div id="menu_container_horizontal" class="tree-panel-container"> <div id="menu_container_horizontal" class="tree-panel-container">
<div id=menu_horizontal class="d-flex"> <div id=menu_horizontal class="d-flex">
<div class="flex-shrink-1"> <div class="flex-shrink-1 align-self-center">
<button type="button" class="btn btn-link mr-3 align-self-center" data-bs-toggle="collapse" data-bs-target="#menu_horizontal_content"> <button type="button" class="btn btn-link mr-3" data-bs-toggle="collapse" data-bs-target="#menu_horizontal_content">
<span class="if-collapsed"> <span class="if-collapsed">
<img src="{{ url_for('static', filename='up.jpg') }}" class="arrow-right" alt="Maximize menu" height="25" width="25" title="Expand"> <img src="{{ url_for('static', filename='up.jpg') }}" class="arrow-right" alt="Maximize menu" height="25" width="25" title="Expand">
</span> </span>