feat(#1568): add "ask ai" section session splitting function (#1711)

* feat(#1568): Added "ask ai" section session splitting function

Added "ask ai" section session splitting function
Optimize the "ask ai" dialogue style

* fix(#1568): Fix wrong attribute "appearance"

* fix(#1568): Add ts type define

* fix(#1568): Add ts type define

* fix(#1568): Resolve the issue of components not being stretched when only user input is available

* feat(#1568): New session automatic switching function

* refactor(#1729): remove unused code

* feat(#1568): New Remove Session Function

New Remove Session Function
Rename some methods
This commit is contained in:
GodMeowIceSun
2023-05-27 02:29:54 +08:00
committed by GitHub
parent ec26a9702d
commit 93d608f050
6 changed files with 221 additions and 36 deletions

View File

@ -9,3 +9,30 @@ body {
#root {
@apply w-full h-full;
}
.button-group {
display: flex;
gap: 0; /* 按钮之间的间距 */
}
.button-group>button:not(:first-child):not(:last-child) {
border-radius: 0;
}
.button-group>button:first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.button-group>button:last-child {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.button-len-max-150 {
max-width: 150px; /* 按钮的最大宽度 */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}