Fix task details CSS [SCI-8982]

This commit is contained in:
sboursen-scinote 2023-08-07 15:31:53 +02:00
parent b264bfab68
commit 04fdf0cfee
2 changed files with 14 additions and 14 deletions

View file

@ -45,20 +45,20 @@
<!-- Details -->
<div class="task-section task-information hidden">
<div id="task-details" class="task-section-header">
<div class="task-sharing-and-flows">
<%= render partial: 'my_modules/status_flow/task_flow_button', locals: { my_module: @my_module } if @my_module.my_module_status_flow %>
<% if current_team.shareable_links_enabled? %>
<div class="share-task-container" data-behaviour="vue">
<share-task-container
<%= 'shared' if @my_module.shared? %>
shareable-link-url="<%= my_module_shareable_link_path(@my_module) %>"
<%= 'disabled' if !can_manage_my_module?(current_user, @my_module) %> />
</div>
<div class="task-sharing-and-flows">
<%= render partial: 'my_modules/status_flow/task_flow_button', locals: { my_module: @my_module } if @my_module.my_module_status_flow %>
<% if current_team.shareable_links_enabled? %>
<div class="share-task-container" data-behaviour="vue">
<share-task-container
<%= 'shared' if @my_module.shared? %>
shareable-link-url="<%= my_module_shareable_link_path(@my_module) %>"
<%= 'disabled' if !can_manage_my_module?(current_user, @my_module) %> />
</div>
<%= javascript_include_tag 'vue_share_task_container' %>
<% end %>
</div>
<div class="task-details-container flex items-center gap-2">
<%= javascript_include_tag 'vue_share_task_container' %>
<% end %>
</div>
<div class="task-details-container flex items-center mr-auto gap-2">
<a class="task-section-caret collapsed" role="button" data-toggle="collapse" href="#details-container" aria-expanded="false" aria-controls="details-container">
<i class="sn-icon sn-icon-right"></i>
<span id="taskDetailsLabel" class="task-section-title">

View file

@ -10,7 +10,7 @@
<div class="flex items-center gap-3">
<%= render partial: 'shareable_links/my_modules/task_flow_button', locals: { my_module: @my_module } if @my_module.my_module_status_flow %>
</div>
<div class="task-details-container flex items-center gap-2">
<div class="task-details-container flex items-center mr-auto gap-2">
<a class="task-section-caret" role="button" data-toggle="collapse" href="#details-container" aria-expanded="false" aria-controls="details-container">
<i class="sn-icon sn-icon-right"></i>
<span id="taskDetailsLabel" class="task-section-title">