Verified Commit 3cd5901e authored by Štěpán Henek's avatar Štěpán Henek 🌩

subordinates: nicer table indents for subsubordinates

parent 0b6b74c6
......@@ -17,3 +17,10 @@ table
text-align: center
tbody tr td:first-child
text-align: left
.rotate-90
transform: rotate(90deg)
.indented-item
padding-left: 1.5em
font-size: 80%
......@@ -47,7 +47,7 @@
</tr>
{% for subsub in sub.subsubordinates %}
<tr id="sub-{{ subsub.controller_id }}" class="sub-line {{ should_be_connected_class(subsub.enabled, sub.enabled) }}" >
<td><i class="fas fa-angle-right"></i>
<td class="indented-item"><i class="fas fa-level-up-alt rotate-90"></i>
{{ subsub.options.custom_name or subsub.controller_id }}
</td>
<td>
......@@ -75,7 +75,7 @@
</tr>
{% for subsub in sub.subsubordinates %}
<tr id="sub-{{ subsub.controller_id }}" class="sub-line {{ should_be_connected_class(subsub.enabled, sub.enabled) }}">
<td><i class="fas fa-angle-right"></i>
<td class="indented-item"><i class="fas fa-level-up-alt rotate-90"></i>
{{ subsub.options.custom_name or subsub.controller_id }}
</td>
<td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment