add recommended styles

This commit is contained in:
Cory LaViska
2023-11-02 13:10:43 -04:00
parent 306911d663
commit b33efe697b

View File

@@ -45,9 +45,16 @@ The layout component _does not_ apply spacing for you. You can apply the appropr
TODO - add example here
:::warning
When using `<wa-layout>`, make sure to zero out all paddings and margins on `<html>` and `<body>`, otherwise you may see unexpected gaps.
:::
When using `<wa-layout>`, make sure to zero out all paddings and margins on `<html>` and `<body>`, otherwise you may see unexpected gaps. The following styles are highly recommended when using `<wa-layout>`.
```css
html,
body {
min-height: 100%;
padding: 0;
margin: 0;
}
```
## Skip To Content