Skip to content

fix: empty aside alignment#3828

Merged
delucis merged 2 commits intowithastro:mainfrom
MangelMaxime:fix/empty-aside-alignement
Apr 22, 2026
Merged

fix: empty aside alignment#3828
delucis merged 2 commits intowithastro:mainfrom
MangelMaxime:fix/empty-aside-alignement

Conversation

@MangelMaxime
Copy link
Copy Markdown
Contributor

Description

Hello,
this PR make it so Asides with empty content have the right alignment.

Before

image

After

image

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 19, 2026

Deploy Preview for astro-starlight ready!

Name Link
🔨 Latest commit b5eb010
🔍 Latest deploy log https://app.netlify.com/projects/astro-starlight/deploys/69e8e20552eb26000864cebe
😎 Deploy Preview https://deploy-preview-3828--astro-starlight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 19, 2026

🦋 Changeset detected

Latest commit: b5eb010

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@astrojs/starlight Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions Bot added the 🌟 core Changes to Starlight’s main package label Apr 19, 2026
@astrobot-houston
Copy link
Copy Markdown
Contributor

Hello! Thank you for opening your first PR to Starlight! ✨

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any issues you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Netlify 🤩

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

Copy link
Copy Markdown
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

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

Thanks @MangelMaxime! Not sure what the use case is for empty asides but I will assume you hit one 😀

I’ve added a changeset and will get this published in our next patch release.

@delucis delucis added the 🌟 patch Change that triggers a patch release label Apr 22, 2026
@MangelMaxime
Copy link
Copy Markdown
Contributor Author

@delucis Indeed 😅

I am working on a plugin for generating F# API documentation in Starlight. And it can happens that an API is deprecated without a message.

image

@delucis delucis merged commit 342038b into withastro:main Apr 22, 2026
17 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Apr 22, 2026
dadezzz pushed a commit to dadezzz/university_notes that referenced this pull request Apr 27, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@astrojs/starlight](https://starlight.astro.build) ([source](https://github.com/withastro/starlight/tree/HEAD/packages/starlight)) | [`0.38.3` → `0.38.4`](https://renovatebot.com/diffs/npm/@astrojs%2fstarlight/0.38.3/0.38.4) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2fstarlight/0.38.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2fstarlight/0.38.3/0.38.4?slim=true) |

---

### Release Notes

<details>
<summary>withastro/starlight (@&#8203;astrojs/starlight)</summary>

### [`v0.38.4`](https://github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0384)

[Compare Source](https://github.com/withastro/starlight/compare/@astrojs/[email protected]...@astrojs/[email protected])

##### Patch Changes

- [#&#8203;3828](withastro/starlight#3828) [`342038b`](withastro/starlight@342038b) Thanks [@&#8203;MangelMaxime](https://github.com/MangelMaxime)! - Fixes aside styling when used without any content

- [#&#8203;3853](withastro/starlight#3853) [`563e11b`](withastro/starlight@563e11b) Thanks [@&#8203;delucis](https://github.com/delucis)! - Fixes a type-checking issue for users on newer versions of TypeScript

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuNiIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌟 core Changes to Starlight’s main package 🌟 patch Change that triggers a patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants