Skip to content

Fix: broken box shadow on hover .create-new-ticket button - #1061

Closed
umeshnevase wants to merge 2 commits into
WordPress:trunkfrom
umeshnevase:fix/box-shadow-create-ticket-button
Closed

umeshnevase wants to merge 2 commits into
WordPress:trunkfrom
umeshnevase:fix/box-shadow-create-ticket-button

Conversation

@umeshnevase

@umeshnevase umeshnevase commented Oct 15, 2026 •

Copy link
Copy Markdown

Fix issue:

https://meta.trac.wordpress.org/ticket/8460

Summary by CodeRabbit

  • Style
    • The “Create new ticket” link no longer stretches to the full available width; it fits its content instead.

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props umeshnevase, timse201.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e495d090-510f-4437-bee9-28e13d6536a4
📥 Commits

Reviewing files that changed from the base of the PR and between 3d6ae23 and c4db7bf.

📒 Files selected for processing: 1
  • wordpress.org/public_html/style/trac/wp-trac.css
💤 Files with no reviewable changes: 1
  • wordpress.org/public_html/style/trac/wp-trac.css

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

📝 Walkthrough

The width: 100% declaration was removed from .create-new-ticket a. Other link styles remain unchanged.

Changes: Trac ticket link width

Layer / File(s) Summary
Ticket link sizing
wordpress.org/public_html/style/trac/wp-trac.css
The .create-new-ticket a rule no longer sets width: 100%.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to c4db7

This is a small styling fix for the Trac new-ticket button hover shadow. No merge-blocking risk is apparent.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title describes the intended CSS fix and identifies the affected .create-new-ticket control. The changeset removes the width: 100% declaration from .create-new-ticket a, which is consistent …
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title describes the intended CSS fix and identifies the affected .create-new-ticket control. The changeset removes the width: 100% declaration from .create-new-ticket a, which is consistent with the stated hover box-shadow fix.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@timse201

timse201 commented Oct 15, 2026 •

Copy link
Copy Markdown

lgtm
To clean up the code a bit, could you please delete the values for width auto?

@timse201 timse201 moved this from 👀 In review (PRs only) to 🚀 Ready for deploy (PRs only) in WordPress.org Oct 18, 2026
@github-project-automation github-project-automation Bot moved this from 🚀 Ready for deploy (PRs only) to ✅ Done in WordPress.org Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Site] Trac [Type] Bug Something isn't working

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants