Fix folders style in table archived view [SCI-8729]

Co-authored-by: Sboursen <dev.sboursen@gmail.com>
This commit is contained in:
sboursen-scinote 2023-06-23 15:31:24 +02:00
parent e2f25eb6c0
commit 49ac9a20d8
3 changed files with 7 additions and 3 deletions

View file

@ -1172,7 +1172,7 @@ li.module-hover {
.card {
&.folder-card {
.name {
grid-column: 7 span;
grid-column: 1 span;
}
}

View file

@ -27,7 +27,9 @@
</div>
<% end %>
<% 5.times do %>
<%# match the number of columns in projects %>
<% additional_columns = folder.archived_branch? ? 6 : 5 %>
<% additional_columns.times do %>
<div class="name table-cell">
</div>
<% end %>

View file

@ -8,7 +8,8 @@
<span class="sci-checkbox-label"></span>
</div>
</div>
<div class="project-code-cell table-cell">
<div class="project-code-cell table-cell">
<span><%= project.code %></span>
</div>
@ -30,6 +31,7 @@
<% end %>
<% end %>
</div>
<div class="actions actions-cell table-cell">
<div
class="dropdown dropdown-async project-actions-menu <%= 'new-comments' if has_unseen_comments?(project) %>"