From cf88fb0419593333f4a4ae771ce961f23e315a45 Mon Sep 17 00:00:00 2001 From: Twan Kranenburg Date: Fri, 9 Oct 2026 09:59:29 +0200 Subject: [PATCH] add visually hidden (for page numbers) to the css, so it doesnt depent on the bootstrap version of the browser --- R/ro_dt_theme.R | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/R/ro_dt_theme.R b/R/ro_dt_theme.R index 173510f..313f2b8 100644 --- a/R/ro_dt_theme.R +++ b/R/ro_dt_theme.R @@ -215,6 +215,19 @@ ro_dt_theme <- function( outline-offset: 2px !important; box-shadow: none !important; } + + /* Screen-reader-only text (not dependent on host Bootstrap version) */ + .visually-hidden { + position: absolute !important; + width: 1px !important; + height: 1px !important; + padding: 0 !important; + margin: -1px !important; + overflow: hidden !important; + clip: rect(0, 0, 0, 0) !important; + white-space: nowrap !important; + border: 0 !important; + } ", base_family, base_family,