mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 12:43:06 +08:00
Merge pull request #7244 from G-Chubinidze/gc_SCI_10259
Task name (Title) is always abbreviated on Task page - problems with task title row responsiveness [SCI-10259]
This commit is contained in:
commit
b0670b3c61
2 changed files with 5 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
<div class="portocol-header-left-part grow">
|
||||
<template v-if="headerSticked && moduleName">
|
||||
<i class="sn-icon sn-icon-navigator sci--layout--navigator-open cursor-pointer p-1.5 border rounded border-sn-light-grey mr-4"></i>
|
||||
<div @click="scrollTop" class="task-section-title w-[calc(100%_-_35rem)] min-w-[5rem] cursor-pointer">
|
||||
<div @click="scrollTop" class="task-section-title w-[calc(100%_-_20rem)] min-w-[5rem] cursor-pointer" :title="moduleName">
|
||||
<h2 class="truncate leading-6">{{ moduleName }}</h2>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -25,7 +25,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="actions-block">
|
||||
<div class="protocol-buttons-group shrink-0">
|
||||
<div class="protocol-buttons-group shrink-0 bg-sn-white">
|
||||
<a v-if="urls.add_step_url"
|
||||
class="btn btn-secondary"
|
||||
:title="i18n.t('protocols.steps.new_step_title')"
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<div class="content-header my-module-header">
|
||||
<div class="my-module-title-row title-row">
|
||||
<i class="sn-icon sn-icon-navigator sci--layout--navigator-open cursor-pointer p-1.5 border rounded border-sn-light-grey mr-4"></i>
|
||||
<h1 class="my_module-name" data-toggle="tooltip" data-placement="bottom" title="<%= @my_module.name %>">
|
||||
<h1 class="my_module-name" data-toggle="tooltip" data-placement="bottom">
|
||||
<% if @my_module.archived_branch? %>
|
||||
<span class="whitespace-nowrap"><%= t('labels.archived')%></span>
|
||||
<% end %>
|
||||
<div class="my_module-name-span" title="<%= @my_module.name %>">
|
||||
<% if @inline_editable_title_config.present? %>
|
||||
<%= render partial: "shared/inline_editing",
|
||||
locals: {
|
||||
|
@ -16,6 +17,7 @@
|
|||
<%= @my_module.name %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue