mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 09:23:58 +08:00
Fix task secondary navigation on small screens [SCI-9305]
This commit is contained in:
parent
b84ff233f2
commit
d46ee2adf6
2 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
<div id="taskSecondaryMenu" class="sticky-header-element bg-sn-white border-b border-solid border-0 border-sn-sleepy-grey rounded-t px-4 py-2 top-0 sticky z-[251]">
|
<div id="taskSecondaryMenu" class="sticky-header-element bg-sn-white border-b border-solid border-0 border-sn-sleepy-grey rounded-t px-4 py-2 top-0 sticky z-[251] flex items-center flex-wrap">
|
||||||
<div class="flex items-center gap-4">
|
<div class="flex items-center gap-4 mr-auto">
|
||||||
<% if can_read_experiment?(@my_module.experiment) %>
|
<% if can_read_experiment?(@my_module.experiment) %>
|
||||||
<a class="p-3 border-b-4 border-transparent hover:no-underline uppercase text-bold capitalize <%= is_module_protocols? ? "text-sn-blue" : "text-sn-grey" %>"
|
<a class="p-3 border-b-4 border-transparent hover:no-underline uppercase text-bold capitalize <%= is_module_protocols? ? "text-sn-blue" : "text-sn-grey" %>"
|
||||||
href="<%= protocols_my_module_url(@my_module) %>"
|
href="<%= protocols_my_module_url(@my_module) %>"
|
||||||
|
@ -22,6 +22,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div data-hook="secondary-navigation-tabs"></div>
|
<div data-hook="secondary-navigation-tabs"></div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
<%= render partial: '/my_modules/task_flow_and_sharing' %>
|
<%= render partial: '/my_modules/task_flow_and_sharing' %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="task-sharing-and-flows ml-auto flex items-center gap-2">
|
<div class="task-sharing-and-flows flex items-center gap-2 pl-3">
|
||||||
<%= render partial: 'my_modules/status_flow/task_flow_button', locals: { my_module: @my_module } if @my_module.my_module_status_flow %>
|
<%= render partial: 'my_modules/status_flow/task_flow_button', locals: { my_module: @my_module } if @my_module.my_module_status_flow %>
|
||||||
<%= javascript_include_tag("my_modules/status_flow") %>
|
<%= javascript_include_tag("my_modules/status_flow") %>
|
||||||
<% if current_team.shareable_links_enabled? %>
|
<% if current_team.shareable_links_enabled? %>
|
||||||
|
|
Loading…
Reference in a new issue