From 5a1aca98af1579ca12270c4d4075f8fe2f318562 Mon Sep 17 00:00:00 2001 From: "Elizabeth R. Lawrence" Date: Fri, 4 Oct 2024 13:11:50 -0400 Subject: [PATCH] change style of table scroll bar --- style.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/style.css b/style.css index e4f77ff..dec44b9 100644 --- a/style.css +++ b/style.css @@ -2,6 +2,22 @@ table { display: inline-block !important; overflow-x: scroll !important; } +/* change scroll bar on tables */ +table::-webkit-scrollbar { + height: 8px; /* Height for the horizontal scrollbar */ +} +table::-webkit-scrollbar-track { + background: #ffffff; /* Background of scrollbar track */ +} +table::-webkit-scrollbar-thumb { + background-color: #1e74ac; /* Scrollbar color */ + border-radius: 10px; + border: 1px solid #196292; /* Add a border to the scrollbar */ +} +table { + scrollbar-width: thin; /* Thin scrollbar for Firefox */ + scrollbar-color: #1e74ac #f1f1f1; /* Scrollbar color */ +} .book .book-body .page-wrapper .page-inner { max-width: 80% !important; }