From c628fc8cbbf8ec4ab3e905eb5926e7aaa104314b Mon Sep 17 00:00:00 2001 From: peptiderepo Date: Fri, 24 Apr 2026 14:13:05 +0000 Subject: [PATCH] fix: use width not min-width for Peptide Topics column (v0.13.6) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit table-layout: fixed ignores min-width — the WP posts list table uses fixed layout so min-width: 80px had no effect. Changed to width: 80px which is honoured under fixed-layout tables. --- CHANGELOG.md | 5 +++++ includes/admin/class-post-list-columns.php | 2 +- prautoblogger.php | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c52bb19..d895b2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ 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.13.6] - 2026-04-24 + +### Fixed +- Peptide Topics column still rendering vertically: WordPress posts table uses `table-layout: fixed` which ignores `min-width` entirely. Changed to explicit `width: 80px` which is respected under fixed-layout tables. + ## [0.13.5] - 2026-04-24 ### Fixed diff --git a/includes/admin/class-post-list-columns.php b/includes/admin/class-post-list-columns.php index 4460cca..689567b 100644 --- a/includes/admin/class-post-list-columns.php +++ b/includes/admin/class-post-list-columns.php @@ -115,7 +115,7 @@ class PRAutoBlogger_Post_List_Columns { . '.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;overflow:visible}' - . '.column-taxonomy-peptide_topic{min-width:80px}' + . '.column-taxonomy-peptide_topic{width:80px}' . '.prab-cost-wrap{position:relative;display:inline-block}' . '.prab-cost-trigger{font-size:12px;color:#2271b1;text-decoration:underline;cursor:pointer}' . '.prab-cost-popover{display:none;position:absolute;right:0;top:100%;z-index:9999;' diff --git a/prautoblogger.php b/prautoblogger.php index d4c4f77..375c56b 100644 --- a/prautoblogger.php +++ b/prautoblogger.php @@ -9,7 +9,7 @@ * 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.13.5 + * Version: 0.13.6 * Requires at least: 6.0 * Requires PHP: 7.4 * Author: PeptideRepo @@ -35,7 +35,7 @@ if ( ! defined( 'ABSPATH' ) ) { | Defined here so every file in the plugin can reference paths, versions, | and limits without magic strings. */ -define( 'PRAUTOBLOGGER_VERSION', '0.13.5' ); +define( 'PRAUTOBLOGGER_VERSION', '0.13.6' ); define( 'PRAUTOBLOGGER_DB_VERSION', '1.1.0' ); define( 'PRAUTOBLOGGER_PLUGIN_FILE', __FILE__ ); define( 'PRAUTOBLOGGER_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );