feat(chat): adjust chat layout and add rewind/fork functionality
- Modify chat max/min width for better responsiveness - Update UserMessage and AssistantMessage components for improved alignment - Add rewind and fork functionality to AssistantMessage - Refactor Artifact component to handle bundled artifacts more clearly
This commit is contained in:
@@ -217,8 +217,8 @@
|
||||
*/
|
||||
:root {
|
||||
--header-height: 54px;
|
||||
--chat-max-width: 37rem;
|
||||
--chat-min-width: 640px;
|
||||
--chat-max-width: 35rem;
|
||||
--chat-min-width: 575px;
|
||||
--workbench-width: min(calc(100% - var(--chat-min-width)), 2536px);
|
||||
--workbench-inner-width: var(--workbench-width);
|
||||
--workbench-left: calc(100% - var(--workbench-width));
|
||||
|
||||
Reference in New Issue
Block a user