mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
Tooltip position is not next to title and some are missing [SCI-10276]
This commit is contained in:
parent
ace245c11f
commit
86188042f6
3 changed files with 5 additions and 4 deletions
|
@ -670,7 +670,8 @@ var RepositoryDatatable = (function(global) {
|
|||
visible: true,
|
||||
render: function(data, type, row) {
|
||||
return "<a href='" + row.recordInfoUrl + "'"
|
||||
+ "class='record-info-link' data-e2e='e2e-TL-invInventoryTR-Item-" + row.DT_RowId + "'>" + data + '</a>';
|
||||
+ " class='record-info-link' data-e2e='e2e-TL-invInventoryTR-Item-" + row.DT_RowId + "'"
|
||||
+ " title='" + data + "'>" + data + '</a>';
|
||||
}
|
||||
}, {
|
||||
targets: 4,
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
:class="{ 'text-sn-grey font-normal': isBlank, 'whitespace-pre-line py-1': !singleLine }"
|
||||
@click="enableEdit($event)"
|
||||
>
|
||||
<span :class="{'truncate': singleLine }" v-if="smartAnnotation" v-html="sa_value || placeholder" ></span>
|
||||
<span :class="{'truncate': singleLine}" v-else>{{newValue || placeholder}}</span>
|
||||
<span :class="{'truncate': singleLine }" :title="sa_value || placeholder" v-if="smartAnnotation" v-html="sa_value || placeholder" ></span>
|
||||
<span :class="{'truncate': singleLine}" :title="newValue || placeholder" v-else>{{newValue || placeholder}}</span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
data-label-after='<%= config[:label_after] %>'
|
||||
data-placeholder='<%= config[:placeholder] %>'
|
||||
>
|
||||
<div class="view-mode" data-placeholder="<%= config[:placeholder] %>" tabindex=0><%= initial_value %></div>
|
||||
<div class="view-mode" title="<%= initial_value %>" data-placeholder="<%= config[:placeholder] %>" tabindex=0><%= initial_value %></div>
|
||||
<input placeholder="<%= config[:placeholder] %>" class="hidden input-field" type="text" value="<%= initial_value %>" disabled/>
|
||||
<div class="button-container hidden">
|
||||
<span class="save-button"><i class="sn-icon sn-icon-check"></i></span>
|
||||
|
|
Loading…
Reference in a new issue