Skip to content

Commit

Permalink
docs: Add layout style collison warning to readme (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltaranto committed Nov 14, 2023
1 parent ac26103 commit 3cd638e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ See the [fontMetrics](#font-metrics) option documented below for more ways to ob
</div>
```

> ⚠️ Note: It is not recommended to apply further layout-related styles to the same element, as this will risk interfering with the styles used for the trim. Instead consider using a nested element.
### `createStyleString`

Returns a CSS string that can be inserted into a `style` tag or appended to a stylesheet.
Expand Down Expand Up @@ -111,6 +113,8 @@ document.write(`
`);
```

> ⚠️ Note: It is not recommended to apply further layout-related styles to the same element, as this will risk interfering with the styles used for the trim. Instead consider using a nested element.
## Options

### Text size
Expand Down

0 comments on commit 3cd638e

Please sign in to comment.