Merge pull request #5896 from G-Chubinidze/gc_SCI_8846

Inventory column resizing issues [SCI-8846]
This commit is contained in:
artoscinote 2023-08-01 10:39:13 +02:00 committed by GitHub
commit 556c1de182
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 5 deletions

View file

@ -19,7 +19,7 @@
.column-grip {
color: $color-volcano;
cursor: grab;
cursor: grabbing;
display: block;
left: 0;
opacity: 0;

View file

@ -81,7 +81,11 @@
}
// Cells
td {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
// Assigned

View file

@ -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

View file

@ -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>