Skip to content

Commit d9b5239

Browse files
committed
fix icon alignment
Signed-off-by: Aayush Kumar <[email protected]>
1 parent 608a674 commit d9b5239

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scanpipe/templates/scanpipe/panels/codebase_tree_panel.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<ul class="pl-2">
1+
<ul>
22
{% for node in children %}
33
<li class="mb-1">
44
{% if node.is_dir %}
55
<div class="tree-node is-flex is-align-items-center has-text-weight-semibold px-1" data-folder data-path="{{ node.path }}"{% if node.has_children %} data-target="{{ node.path|slugify }}" data-url="{% url 'codebase_resource_tree' slug=project.slug %}?path={{ node.path }}"{% endif %}>
6-
<span class="icon is-small chevron mr-1{% if not node.has_children %} is-invisible{% endif %} is-clickable" data-chevron>
6+
<span class="icon is-small chevron mr-1{% if not node.has_children %} is-invisible{% endif %} is-clickable is-flex is-align-items-center" data-chevron>
77
<i class="fas fa-chevron-right"></i>
88
</span>
99
<span class="is-flex is-align-items-center folder-meta is-clickable" hx-get="{% url 'codebase_resource_table' project.slug %}?path={{ node.path }}" hx-target="#right-pane">

scanpipe/templates/scanpipe/resource_tree.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
border-right: 1px solid #ccc;
2525
overflow-y: auto;
2626
overflow-x: hidden;
27-
flex-basis: 33.333%;
27+
flex-basis: 25%;
2828
transition: opacity 0.2s ease;
2929
}
3030

0 commit comments

Comments
 (0)