Skip to content

Commit

Permalink
docs(website): 📝 add note to avoid render location issues #13
Browse files Browse the repository at this point in the history
  • Loading branch information
diecodev committed Jul 26, 2024
1 parent 7080a63 commit 2bd5024
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions website/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,20 @@ export default component$(() => {
/>
<main class="container">
<Hero />
<p class="!mt-12 rounded-md bg-amber-100 p-2 !text-sm">
Due to the resumability, the{" "}
<span class="rounded-lg border border-amber-200 bg-amber-200/65 p-1 font-mono text-xs font-semibold">{`<Toaster />`}</span>{" "}
component should be positioned at the beginning of where you want to
use it. This way, you won't encounter{" "}
<a
href="https://github.com/diecodev/qwik-sonner/issues/13"
target="_blank"
rel="noopener noreferrer"
class="font-bold underline"
>
rendering issues.
</a>
</p>
<div class="content">
<Installation />
<Usage />
Expand Down
4 changes: 2 additions & 2 deletions website/src/routes/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ code {
display: flex;
flex-direction: column;
gap: 48px;
margin-top: 96px;
margin-top: 48px;
}

.buttons {
Expand Down Expand Up @@ -186,7 +186,7 @@ m .wrapper h2 {
display: flex;
flex-direction: column;
gap: 48px;
margin-top: 96px;
margin-top: 48px;
}

.wrapper footer {
Expand Down

0 comments on commit 2bd5024

Please sign in to comment.