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

@@ -5,6 +5,13 @@ All notable changes to PRAutoBlogger will be documented in this file.
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project uses [Semantic Versioning](https://semver.org/).
## [0.4.2] — 2026-04-19
### Fixed
- **Posts list Title column unreadable.** Title was compressed to ~30px by the
three custom columns. Title now gets 35% minimum width with word-wrap enabled.
Model columns trimmed to 100px with text-overflow ellipsis for long model names.
## [0.4.1] — 2026-04-19
### Added

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>';
}

View File

@@ -8,7 +8,7 @@ declare(strict_types=1);
* Plugin Name: PRAutoBlogger
* Plugin URI: https://peptiderepo.com/prautoblogger
* Description: Monitors social media for trending topics, generates SEO-friendly blog posts using AI, and publishes them on a daily schedule with full cost tracking and self-improvement metrics.
* Version: 0.4.1
* Version: 0.4.2
* Requires at least: 6.0
* Requires PHP: 7.4
* Author: PeptideRepo
@@ -35,7 +35,7 @@ if ( ! defined( 'ABSPATH' ) ) {
| and limits without magic strings.
*/
define( 'PRAUTOBLOGGER_VERSION', '0.4.1' );
define( 'PRAUTOBLOGGER_VERSION', '0.4.2' );
define( 'PRAUTOBLOGGER_DB_VERSION', '1.1.0' );
define( 'PRAUTOBLOGGER_PLUGIN_FILE', __FILE__ );
define( 'PRAUTOBLOGGER_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );