From fd8a284a77a0bf4ab501f845ded5f1dc4c55cef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar=20Rubio?= Date: Sun, 11 Feb 2024 02:05:51 +0100 Subject: [PATCH] Fix `.demo-source` docs links --- docs/book/src/demo.css | 1 + src/use_clipboard.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/book/src/demo.css b/docs/book/src/demo.css index 490273a..809ee87 100644 --- a/docs/book/src/demo.css +++ b/docs/book/src/demo.css @@ -8,6 +8,7 @@ top: 8px; font-size: 12px; font-weight: 500; + z-index: 50; } .demo-container > a.demo-source > i.fa { diff --git a/src/use_clipboard.rs b/src/use_clipboard.rs index 0bf11ae..f2b6620 100644 --- a/src/use_clipboard.rs +++ b/src/use_clipboard.rs @@ -25,7 +25,7 @@ use leptos::*; /// # /// # #[component] /// # fn Demo() -> impl IntoView { -/// let UsClipboardReturn { is_supported, text, copied, copy } = use_clipboard(); +/// let UseClipboardReturn { is_supported, text, copied, copy } = use_clipboard(); /// /// view! { ///