mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +08:00
Merge pull request #5896 from G-Chubinidze/gc_SCI_8846
Inventory column resizing issues [SCI-8846]
This commit is contained in:
commit
556c1de182
4 changed files with 9 additions and 5 deletions
|
@ -19,7 +19,7 @@
|
|||
|
||||
.column-grip {
|
||||
color: $color-volcano;
|
||||
cursor: grab;
|
||||
cursor: grabbing;
|
||||
display: block;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
|
|
|
@ -81,7 +81,11 @@
|
|||
}
|
||||
|
||||
// Cells
|
||||
|
||||
td {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
// Assigned
|
||||
|
||||
|
|
|
@ -28,11 +28,11 @@ module ApplicationHelper
|
|||
|
||||
if message.strip.length > len
|
||||
sanitize_input("<div class='modal-tooltip'> \
|
||||
#{truncate(message.strip, length: len)} \
|
||||
#{message.strip} \
|
||||
<span class='modal-tooltiptext'> \
|
||||
#{message.strip}</span></div>")
|
||||
else
|
||||
truncate(message.strip, length: len)
|
||||
message.strip
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
<%= "data-items-url=#{items_repository_repository_columns_list_column_path(repository, column)}" if column.repository_list_value? %>
|
||||
<%= "data-items-url=#{items_repository_repository_columns_status_column_path(repository, column)}" if column.repository_status_value? %>
|
||||
>
|
||||
<%= display_tooltip(column.name) %>
|
||||
<div class="truncate"><%= display_tooltip(column.name) %></div>
|
||||
</th>
|
||||
<% end %>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue