Merge pull request #132 from hcandelaria/use-cookie-misaligned

Fix: use_cookie demo button misalignment
This commit is contained in:
Marc-Stefan Cassola 2024-07-18 22:35:20 +01:00 committed by GitHub
commit 37f16ad37b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@
cursor: not-allowed;
}
.demo-container button ~ button {
.demo-container button + button {
margin-left: 0.8rem;
}
@ -134,4 +134,4 @@
border-width: 2px;
border-style: dashed;
padding: 1.5rem;
}
}

View file

@ -11,7 +11,7 @@ use std::rc::Rc;
/// SSR-friendly and reactive cookie access.
///
/// You can use this function multiple times in your for the same cookie and they're signals will synchronize
/// You can use this function multiple times for the same cookie and their signals will synchronize
/// (even across windows/tabs). But there is no way to listen to changes to `document.cookie` directly so in case
/// something outside of this function changes the cookie, the signal will **not** be updated.
///