Merge pull request #5927 from sboursen-scinote/sb_SCI-8982

Fix task details CSS [SCI-8982]
This commit is contained in:
ajugo 2023-08-07 16:41:46 +02:00 committed by GitHub
commit c63b7d7a64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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">