Skip to content

Fix cut off border on blog post box#15496

Merged
pelikhan merged 1 commit intomainfrom
eaftan/fix-docs-bug
Feb 13, 2026
Merged

Fix cut off border on blog post box#15496
pelikhan merged 1 commit intomainfrom
eaftan/fix-docs-bug

Conversation

@eaftan
Copy link
Contributor

@eaftan eaftan commented Feb 13, 2026

Before:

image (50)

After:

Screenshot 2026-02-13 at 11 25 34 AM

Copilot AI review requested due to automatic review settings February 13, 2026 19:26
@pelikhan pelikhan merged commit 7ec59de into main Feb 13, 2026
41 checks passed
@pelikhan pelikhan deleted the eaftan/fix-docs-bug branch February 13, 2026 19:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the CSS selectors in the docs BlogLinkSection component to prevent the blog post link card border from being visually cut off by ensuring the intended card styles win in the cascade.

Changes:

  • Increase selector specificity for .prominent-link-card base styles by scoping them under .prominent-link-wrapper.
  • Increase selector specificity for .prominent-link-card:hover styles similarly.
Comments suppressed due to low confidence (1)

docs/src/components/BlogLinkSection.astro:32

  • The selector specificity for the base card styles was increased (now .prominent-link-wrapper .prominent-link-card). As a result, the mobile @media rule that still targets .prominent-link-card (line 85+) is less specific and will no longer override base properties like padding and gap, likely regressing the small-screen layout/overflow. Update the media-query selector(s) to match (or exceed) the new specificity (e.g., also prefix with .prominent-link-wrapper), or adjust the base selector to avoid out-specifying the responsive overrides.
  .prominent-link-wrapper .prominent-link-card {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants