From dba4a4f4044418c9e1997f2dd12cb8702fe68c3a Mon Sep 17 00:00:00 2001 From: arctic-hen7 Date: Sun, 11 Sep 2022 15:31:25 +1000 Subject: [PATCH] fix: fixed route announcer dimensions This should make full-page layouts perfect! --- packages/perseus/src/router/router_component.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/perseus/src/router/router_component.rs b/packages/perseus/src/router/router_component.rs index 7ee1ba260d..59ea3ec8f3 100644 --- a/packages/perseus/src/router/router_component.rs +++ b/packages/perseus/src/router/router_component.rs @@ -26,7 +26,7 @@ use web_sys::Element; // way! We're particualrly comprehensive with these because the user could // *potentially* stuff things up with global rules https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe const ROUTE_ANNOUNCER_STYLES: &str = r#" - margin: 0; + margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0);