Skip to content

Commit

Permalink
update changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrickert committed Jul 29, 2024
1 parent 167f529 commit caa5afd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .changeset/quiet-taxis-pay.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,19 @@
---

fix(OnyxPageLayout): bind root `style` and `class` attributes to `<main>` element

This change now allows that you don't need redundant wrapper elements for your page to e.g. apply grid styles etc.

Old:

```html
<OnyxPageLayout>
<div class="onyx-grid-container">Page content...</div>
</OnyxPageLayout>
```

New:

```html
<OnyxPageLayout class="onyx-grid-container"> Page content... </OnyxPageLayout>
```

0 comments on commit caa5afd

Please sign in to comment.