fix: word-wrap title column and tighten custom column widths (v0.4.2)

Title column was compressed to ~30px making post titles unreadable.
Give title 35% min-width with word-wrap, trim model columns to 100px
with text-overflow ellipsis, cost column to 55px.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
peptiderepo
2026-04-19 14:27:49 +07:00
parent 499dcc931d
commit 3e1e5efe09
3 changed files with 13 additions and 5 deletions

View File

@@ -109,9 +109,10 @@ class PRAutoBlogger_Post_List_Columns {
return;
}
echo '<style>'
. '.column-prab_writing_model{width:120px}'
. '.column-prab_image_model{width:120px}'
. '.column-prab_cost{width:60px}'
. '.wp-list-table .column-title{width:35%;word-wrap:break-word;overflow-wrap:break-word}'
. '.column-prab_writing_model{width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}'
. '.column-prab_image_model{width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}'
. '.column-prab_cost{width:55px;white-space:nowrap}'
. '</style>';
}