Hero: let title and tagline go full width if there is no image content #958
olets
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlight
are you using?0.9.1
What is your idea?
starlight/packages/starlight/components/Hero.astro
Line 103 in def7105
image.file
orimage.html
content (components/Hero.astro#L23-L33).Why is this feature necessary?
An image-less Hero's text is restricted to 7/11 of the component width, with blank space for the remaining 4/11.
Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions