codepress / admin-columns

Admin Columns allows you to manage and organize columns in the posts, users, comments, and media lists tables in the WordPress admin panel. Transform the WordPress admin screens into beautiful, clear overviews.
http://www.admincolumns.com
GNU General Public License v3.0
68 stars 26 forks source link

Any way to add text-overflow: ellipsis to the row-title element? #366

Open samjco opened 1 year ago

samjco commented 1 year ago

Just cant understand why this isn't a default.

When a user defines a width in the Title column, text-overflow ellipsis should auto kick in showing a [...] following the left out text... And if we wanted to get even spiffier, we could add an overflow to things and allow user to show the full title on hover.

Example below:

title-element a {
  white-space: nowrap; 
  /*width: 100px;  //width will be define by user */
  overflow: hidden;
  text-overflow: ellipsis;
}

title-element a:hover {
  overflow: visible;
  z-index: 20;
}