File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,7 @@ main.tree-view {
206
206
207
207
# tree-view-panel {
208
208
max-width : 100dvw ;
209
+ max-height : 100% ;
209
210
overflow : auto;
210
211
}
211
212
Original file line number Diff line number Diff line change 16
16
{{ include (' tree/_tree_form.html.twig' , { tree : person .tree }) }}
17
17
</div >
18
18
</div >
19
- <div class =" col-md d-flex justify-content-center align-items-center" id =" tree-view-panel" >
20
- <div class =" p-3" style =" width: fit-content;" >
21
- {{ include (' tree/tree.html.twig' , { person : person , depth : 1 }) }}
19
+ <div class =" col-md d-flex justify-content-center align-items-center mh-100" id =" tree-view-panel" >
20
+ <div class =" text-center" style =" width: inherit; height: inherit; max-height: inherit;" >
21
+ <div class =" m-3 d-inline-block" >
22
+ {{ include (' tree/tree.html.twig' , { person : person , depth : 1 }) }}
23
+ </div >
22
24
</div >
23
25
</div >
24
26
</section >
Original file line number Diff line number Diff line change 1
1
{% set link = link | default (false ) %}
2
2
{% set max_depth = form .depth .vars .data | default (0 ) %}
3
3
4
- <div class =" row g-0 flex-column-reverse aling-items-center justify-content-center flex-grow-1 flex-nowrap " >
4
+ <div class =" row g-0 flex-column-reverse aling-items-center justify-content-center flex-nowrap " style = " width: fit-content; " >
5
5
{% if link %}
6
6
<div class =" col" >
7
7
<div class =" tree-link tree-link-{{ direction }} {{ margin }}" ></div >
You can’t perform that action at this time.
0 commit comments