Skip to content

Docs: remove unused .bd-file-ref class#42091

Merged
julien-deramond merged 1 commit into
v6-devfrom
main-jd-remove-unused-bd-file-ref-class
Feb 21, 2026
Merged

Docs: remove unused .bd-file-ref class#42091
julien-deramond merged 1 commit into
v6-devfrom
main-jd-remove-unused-bd-file-ref-class

Conversation

@julien-deramond

Copy link
Copy Markdown
Member

This PR removes the use of .bd-file-ref class that doesn't have anymore a corresponding CSS rule.

In our main branch, we have this code allowing to have a clean rounded corner for some code snippets:

.bd-file-ref {
  .highlight-toolbar {
    @include media-breakpoint-up(md) {
      @include border-top-radius(calc(var(--bs-border-radius) - 1px));
    }
  }
}

Avoiding this:

Screenshot 2026-02-21 at 15 00 55

In the v6-dev branch, this rendering is already handled by the @media (width >= 768px) { .highlight-toolbar:first-child CSS rule.

@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Feb 21, 2026
@julien-deramond julien-deramond merged commit 030fd24 into v6-dev Feb 21, 2026
12 checks passed
@julien-deramond julien-deramond deleted the main-jd-remove-unused-bd-file-ref-class branch February 21, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

1 participant