Table cells should clip with tooltip only if text actually overflows
|Assigned To:||Tomer Brisker|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/2880, https://github.com/theforeman/foreman/pull/2837, https://github.com/theforeman/foreman/pull/2789|
|Velocity based estimate||-|
Clipping to ellipsis leaves a lot of white space in the column.
Also possibly resize columns to better fit contents.
Fixes #8800 - Clip table cells only when needed
For clipping to work, table must have class `table-fixed` and the cell
have class `ellipsis`. Also column widths should be set in table head.
Clipping will occur automagically with tooltip.
Refs #8800 - Fix clipping on global parameter table
I missed this one table in the previos commit.
#1 Updated by Tomer Brisker almost 2 years ago
- Subject changed from Host list table clips attributes too soon to Table cells should clip with tooltip only if text actually overflows
Currently, table cells have one of two possible behaviors:
1. Clipping at a hard coded, arbitrary length - which may cause a lot of white space that could be used for displaying the entire text or part of it.
2. Overflowing causing the table layout to break.
The text should clip with tooltip only when really needed, and this should be handled by the browser and not by the server.