diff --git a/script/ci_memory_impact_comment.py b/script/ci_memory_impact_comment.py
index 140bd2f08e..2b747629d5 100755
--- a/script/ci_memory_impact_comment.py
+++ b/script/ci_memory_impact_comment.py
@@ -157,8 +157,14 @@ def create_symbol_changes_table(
target_str = format_bytes(target_size)
pr_str = format_bytes(pr_size)
change_str = format_change(target_size, pr_size)
- # Truncate very long symbol names
- display_symbol = symbol if len(symbol) <= 80 else symbol[:77] + "..."
+ # Truncate very long symbol names but show full name in title attribute
+ if len(symbol) <= 100:
+ display_symbol = symbol
+ else:
+ # Use HTML details for very long symbols
+ display_symbol = (
+ f"{symbol[:97]}...
{symbol} "
+ )
lines.append(
f"| `{display_symbol}` | {target_str} | {pr_str} | {change_str} |"
)
@@ -261,8 +267,8 @@ def create_detailed_breakdown_table(
# Build table - limit to top 20 changes
lines = [
"",
- "",
- "📊 Component Memory Breakdown (click to expand)
",
+ "",
+ "📊 Component Memory Breakdown
",
"",
"| Component | Target Flash | PR Flash | Change |",
"|-----------|--------------|----------|--------|",