Fix button style on archive cards [SCI-10965]

This commit is contained in:
Anton 2024-08-07 11:39:43 +02:00
parent 28333e94ed
commit ee16df9014
2 changed files with 4 additions and 4 deletions

View file

@ -79,7 +79,7 @@
<div class="panel-footer panel-footer-scinote buttons-container">
<ul class="nav nav-tabs nav-tabs-less" role="tablist">
<li role="presentation">
<a class="btn btn-light task-card-view-users" href="<%= designated_users_my_module_user_my_modules_url(my_module_id: my_module.id, format: :json) %>" aria-controls="<%= my_module.id %>_users" role="tab" data-remote="true">
<a class="task-card-view-users mt-1" href="<%= designated_users_my_module_user_my_modules_url(my_module_id: my_module.id, format: :json) %>" aria-controls="<%= my_module.id %>_users" role="tab" data-remote="true">
<span class="sn-icon sn-icon-users" aria-hidden="true"></span>
<span class="badge badge-indicator users-badge-indicator <%= 'hidden' unless my_module.designated_users_count.positive? %>"
data-linked-id="<%= my_module.id %>">
@ -88,13 +88,13 @@
</a>
</li>
<li role="presentation">
<a class="btn btn-light task-card-view-activities" href="<%= activities_my_module_url(id: my_module.id, view_mode: my_module.archived_branch? ? 'archived' : 'active') %>"
<a class="task-card-view-activities mt-1" href="<%= activities_my_module_url(id: my_module.id, view_mode: my_module.archived_branch? ? 'archived' : 'active') %>"
aria-controls="<%= my_module.id %>_activities" role="tab">
<span class="sn-icon sn-icon-activities" aria-hidden="true"></span>
</a>
</li>
<li role="presentation">
<a href="#" class="btn btn-light open-comments-sidebar" tabindex=0
<a href="#" class="open-comments-sidebar mt-1" tabindex=0
data-object-type="MyModule" data-object-id="<%= my_module.id %>">
<span class="sn-icon sn-icon-comments" aria-hidden="true"></span>
<span id="comment-count-<%= my_module.id %>" class="badge badge-indicator comments-badge-indicator <%= 'hidden' unless my_module.task_comments_count.positive? %>">

View file

@ -2,7 +2,7 @@
<div class="sidebar-content">
<div class="sidebar-header">
<div class="comments-subject-title"></div>
<div class="btn btn-light icon-btn close-btn">
<div class="btn btn-light icon-btn close-btn !bg-transparent">
<i class="sn-icon sn-icon-close"></i>
</div>
<div class="comments-subject-url">