Skip to content

Commit

Permalink
Fix wrong heading values
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw committed Oct 23, 2024
1 parent e01552c commit 78d8961
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/src/content/docs/elements/image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ An `Image` can be used to represent an image loaded from a file. Supported image
When set, the image is used as an alpha mask and is drawn in the given color (or with the gradient).
</SlintProperty>

## `horizontal-alignment`
### `horizontal-alignment`
<SlintProperty propName="horizontal-alignment" typeName="enum">
`ImageHorizontalAlignment`

Expand All @@ -46,7 +46,7 @@ This enum specifies the horizontal alignment of the source image.
* `right`: Aligns the source image at the right of the element.
</SlintProperty>

## `horizontal-tiling`
### `horizontal-tiling`
<SlintProperty propName="horizontal-tiling" typeName="enum" defaultValue='none'>
`ImageTiling`

Expand All @@ -57,7 +57,7 @@ This enum specifies the horizontal alignment of the source image.
* `round`: The source image will be repeated and scaled to fill the element, ensuring an integer number of repetitions.
</SlintProperty>

## `image-fit`
### `image-fit`
<SlintProperty propName="image-fit" typeName="enum" defaultValue="`contain` when the `Image` element is part of a layout, `fill` otherwise">

`ImageFit`
Expand All @@ -73,7 +73,7 @@ This enum specifies the horizontal alignment of the source image.
Any extra space will be left blank.
</SlintProperty>

## `image-rendering`
### `image-rendering`
<SlintProperty propName="image-rendering" typeName="enum" defaultValue='smooth'>
`ImageRendering`

Expand Down
4 changes: 2 additions & 2 deletions docs/src/content/docs/elements/text.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ of text.

## Properties

### color
### `color`
<SlintProperty propName="color" typeName="brush" defaultValue="<depends on theme>">
The color of the text.

Expand All @@ -47,7 +47,7 @@ Text {
```
</SlintProperty>

### font-family
### `font-family`
<SlintProperty propName="font-family" typeName="string" >
The name of the font family selected for rendering the text.

Expand Down

0 comments on commit 78d8961

Please sign in to comment.