Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

added right scrolling on overflow #108

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/component/Display.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,35 @@
font-weight: 200;
flex: 0 0 auto;
width: 100%;
direction: rtl;
overflow: auto;
}

/* width */
::-webkit-scrollbar {
height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
border-radius: 8px;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #e0e0e0;
height: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #f5923e;
}


.component-display > div {
font-size: 2.5rem;
padding: 0.2rem 0.7rem 0.1rem 0.5rem;
}