mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +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 {
|
.column-grip {
|
||||||
color: $color-volcano;
|
color: $color-volcano;
|
||||||
cursor: grab;
|
cursor: grabbing;
|
||||||
display: block;
|
display: block;
|
||||||
left: 0;
|
left: 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|
|
@ -81,7 +81,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cells
|
// Cells
|
||||||
|
td {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
// Assigned
|
// Assigned
|
||||||
|
|
||||||
|
|
|
@ -28,11 +28,11 @@ module ApplicationHelper
|
||||||
|
|
||||||
if message.strip.length > len
|
if message.strip.length > len
|
||||||
sanitize_input("<div class='modal-tooltip'> \
|
sanitize_input("<div class='modal-tooltip'> \
|
||||||
#{truncate(message.strip, length: len)} \
|
#{message.strip} \
|
||||||
<span class='modal-tooltiptext'> \
|
<span class='modal-tooltiptext'> \
|
||||||
#{message.strip}</span></div>")
|
#{message.strip}</span></div>")
|
||||||
else
|
else
|
||||||
truncate(message.strip, length: len)
|
message.strip
|
||||||
end
|
end
|
||||||
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_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? %>
|
<%= "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>
|
</th>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue