From af2fcb188cd18497cc3ecadafa2ecd154923394a Mon Sep 17 00:00:00 2001 From: Hector Candelaria Date: Thu, 18 Jul 2024 00:04:57 -0400 Subject: [PATCH 1/2] Fix: correct button misalignment Replaced the CSS selector `~` with `+` to ensure proper spacing between adjacent buttons. This adjustment targets only the immediate sibling buttons. --- docs/book/src/demo.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/book/src/demo.css b/docs/book/src/demo.css index 809ee87..f092756 100644 --- a/docs/book/src/demo.css +++ b/docs/book/src/demo.css @@ -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; -} \ No newline at end of file +} From 2bc537292067842a8481746d106de49d7c78fca3 Mon Sep 17 00:00:00 2001 From: Hector Candelaria Date: Thu, 18 Jul 2024 00:09:06 -0400 Subject: [PATCH 2/2] Docs: correct grammar in function comment Updated comment to fix grammar. --- src/use_cookie.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/use_cookie.rs b/src/use_cookie.rs index e61192f..67336f8 100644 --- a/src/use_cookie.rs +++ b/src/use_cookie.rs @@ -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. ///