Skip to content

Commit

Permalink
change style of table scroll bar
Browse files Browse the repository at this point in the history
  • Loading branch information
EliLawrence committed Oct 4, 2024
1 parent 72a0903 commit 5a1aca9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5a1aca9

Please sign in to comment.