From cccabfb063a3b2c1bfe29d6900805367dfe0805d Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Fri, 5 Sep 2025 23:13:45 +0100 Subject: [PATCH] Fixed scroll bars. --- assets/stylesheets/App.css | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/assets/stylesheets/App.css b/assets/stylesheets/App.css index 12e3134..98762ec 100644 --- a/assets/stylesheets/App.css +++ b/assets/stylesheets/App.css @@ -251,8 +251,15 @@ body { ::-webkit-scrollbar { - width: 10px; - border-radius: 34px; + width: 8px; +} + +::-webkit-scrollbar:vertical { + width: 8px; +} + +::-webkit-scrollbar:horizontal { + height: 8px; } /* Track */ @@ -263,13 +270,17 @@ body { /* Handle */ ::-webkit-scrollbar-thumb { background: #8888881a; - border: 4px solid rgba(0, 0, 0, 0); + border: 2px solid rgba(0, 0, 0, 0); background-clip: padding-box; transition: all 1s; -moz-transition: all 1s; -webkit-transition: all 1s; } +::-webkit-scrollbar-corner { + background: #00000000; /* The scroll corner color */ +} + ::-webkit-scrollbar-thumb:vertical { border-left: none; } @@ -281,7 +292,7 @@ body { /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: #5555551f; - border: 4px solid rgba(0, 0, 0, 0); + border: 2px solid rgba(0, 0, 0, 0); background-clip: padding-box; } @@ -291,4 +302,8 @@ body { ::-webkit-scrollbar-thumb:horizontal:hover { border-top: none; +} + +.ant-table-body { + scrollbar-color: auto; } \ No newline at end of file