typo fix
This commit is contained in:
parent
7e7a2ed134
commit
dcf943a01f
2 changed files with 1 additions and 2 deletions
|
|
@ -209,7 +209,7 @@ To add a video as the hero, use the [Video](?path=/docs/components-multimedia-vi
|
||||||
|
|
||||||
## Inline hero
|
## Inline hero
|
||||||
|
|
||||||
To use a photo, graphic, video, etc. as an inline hero -- i.e. to make the hero appear before or after the headline and dek, instead of stacked underneath -- set `stacked` to `false`. Otherwise, add your hero media in the same way as documented above.
|
To use a photo, graphic, video, etc. as an inline hero -- i.e. to make the hero appear _after_ the headline and dek, instead of stacked underneath -- set `stacked` to `false`. Otherwise, add your hero media in the same way as documented above.
|
||||||
|
|
||||||
```svelte
|
```svelte
|
||||||
<!-- App.svelte -->
|
<!-- App.svelte -->
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,6 @@
|
||||||
</Block>
|
</Block>
|
||||||
|
|
||||||
<HeroHeadline
|
<HeroHeadline
|
||||||
stacked={false}
|
|
||||||
class="video-hero"
|
class="video-hero"
|
||||||
hed="The conflict in Ethiopia"
|
hed="The conflict in Ethiopia"
|
||||||
hedSize="bigger"
|
hedSize="bigger"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue