mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-27 21:58:51 +01:00
🎛️ refactor: Add keyboard command toggles & only trigger for the 1st character (#3566)
* refactor: Improve handling of key up events in useHandleKeyUp hook to only trigger for first char and fix linter issues * refactor: Update Beta component styling with theme twcss variables * refactor: theming for Settings, add toggle enable/disable keyboard commands
This commit is contained in:
parent
270c6d2350
commit
01a88991ab
12 changed files with 224 additions and 64 deletions
|
|
@ -291,4 +291,24 @@
|
|||
|
||||
.scrollbar-gutter-stable {
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
}
|
||||
|
||||
/* Styles for Chrome scrollbar */
|
||||
.chrome-scrollbar::-webkit-scrollbar {
|
||||
width: 12px; /* Increase the width of the scrollbar */
|
||||
}
|
||||
|
||||
.chrome-scrollbar::-webkit-scrollbar-thumb {
|
||||
background-color: rgba(0, 0, 0, 0.2); /* Color of the scroll thumb */
|
||||
border-radius: 6px; /* Rounded corners on the scroll thumb */
|
||||
border: 2px solid transparent; /* Creates padding around scroll thumb */
|
||||
background-clip: padding-box; /* Prevents background color from leaking outside the border */
|
||||
}
|
||||
|
||||
.chrome-scrollbar::-webkit-scrollbar-thumb:hover {
|
||||
background-color: rgba(0, 0, 0, 0.3); /* Darker color when hovering */
|
||||
}
|
||||
|
||||
.chrome-scrollbar::-webkit-scrollbar-track {
|
||||
background-color: transparent; /* Color of the tracking area */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue