Improve chat-box scrollbar styling with thin bars, transparency, and hover effects for better UI consistency.
This commit is contained in:
parent
915b64cdb0
commit
ce6f59b543
|
|
@ -9,6 +9,25 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-container::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-container::-webkit-scrollbar-track {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-container::-webkit-scrollbar-thumb {
|
||||||
|
background-color: rgba(255, 255, 255, 0.35);
|
||||||
|
border-radius: 999px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-container::-webkit-scrollbar-thumb:hover {
|
||||||
|
background-color: rgba(255, 255, 255, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.message {
|
.message {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user