- refactor(ConversationCard): add event listener to close the window on Escape key press

-  refactor(ConversationCard): change style of header to allow for dragging
-  refactor(ConversationCard): change select width to auto
-  refactor(FloatingToolbar): change handle class from dragbar to draggable
-  refactor(styles.scss): add scrollbar and resizer styles to the conversation card and change select width to auto
This commit is contained in:
zouwangqiang
2023-05-12 17:45:47 +08:00
committed by josc146
parent 2ef9eb058e
commit 80c34aaad2
3 changed files with 35 additions and 7 deletions
+20 -1
View File
@@ -88,8 +88,27 @@
padding: 5px 15px 10px;
background-color: var(--theme-color);
color: var(--font-color);
overflow-y: auto;
::-webkit-scrollbar {
background-color: var(--theme-color);
}
::-webkit-scrollbar-thumb {
background-color: var(--dragbar-color);
}
&::-webkit-scrollbar {
background-color: var(--theme-color);
}
&::-webkit-scrollbar-thumb {
background-color: var(--dragbar-color);
}
::-webkit-resizer {
background-color: var(--theme-color);
}
&::-webkit-resizer {
background-color: var(--theme-color);
}
overflow-y: auto;
min-height: 300px;
p {
color: var(--font-color);
}