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 { .column-grip {
color: $color-volcano; color: $color-volcano;
cursor: grab; cursor: grabbing;
display: block; display: block;
left: 0; left: 0;
opacity: 0; opacity: 0;

View file

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

View file

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

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