Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change some styles of bot #84

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions web-packages/magent-au/src/views/agent-chat/index.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.magent-agent-chat-layout {
height: 100%;
border-radius: 8px;
background: url('https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*RGzYTpUgRpcAAAAAAAAAAAAADsZ-AQ/original')
no-repeat center center/cover;

&-container {
gap: 16px;
Expand All @@ -9,6 +12,7 @@

&-history {
width: 260px;
border-left: 1px solid #e9eaeb;
}

&-chat {
Expand Down
10 changes: 9 additions & 1 deletion web-packages/magent-au/src/views/sessions/index.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.chat-histroy-list {
padding: 8px;
background: #fff;
background: transparent;
border-radius: 8px;
flex-shrink: 99;
overflow: hidden;
Expand All @@ -20,6 +20,14 @@
font-size: 16px;
}

.chat-histroy-add-button {
background-color: transparent;

&:hover {
background-color: transparent !important;
}
}

.chat-histroy-scroll {
margin-top: 8px;
overflow-y: auto;
Expand Down
1 change: 1 addition & 0 deletions web-packages/magent-au/src/views/sessions/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ const SessionsViewComponent = forwardRef<HTMLDivElement>(
icon={<PlusOutlined className={'chat-histroy-icon'} />}
// loading={sessionSnap.convCreating}
onClick={instance.createSession}
className={'chat-histroy-add-button'}
>
开启新会话
</Button>
Expand Down
5 changes: 1 addition & 4 deletions web-packages/magent-chat/src/chat-view/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
height: 100%;
display: flex;
flex-direction: column;
background-color: var(--mana-color-bg-container);
box-sizing: border-box;
border-radius: 8px;
background-color: transparent;

&-content {
width: 100%;
Expand All @@ -14,9 +14,6 @@
flex-direction: column;
font-size: 12px;
box-sizing: border-box;
border-radius: 8px;
background: url('https://mdn.alipayobjects.com/huamei_je4oko/afts/img/A*RGzYTpUgRpcAAAAAAAAAAAAADsZ-AQ/original')
no-repeat center center/cover;

&-list {
overflow-y: auto;
Expand Down
Loading