Skip to content

Commit

Permalink
fix(prompt): style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BroKun committed Jan 23, 2024
1 parent d2ea7f1 commit 0650ba5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packages/libro-prompt-cell/src/input-handler/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
svg {
margin-left: 4px;
color: #bdc0c4 !important;
cursor: pointer;

&:hover {
color: #1590ff !important;
Expand All @@ -41,6 +42,7 @@
svg {
margin-left: 4px;
color: #bdc0c4 !important;
cursor: pointer;

&:hover {
color: #1590ff !important;
Expand Down
11 changes: 8 additions & 3 deletions packages/libro-prompt-cell/src/prompt-cell-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,24 @@ const ChatObjectOptions = (type: string): ChatObjectOptions => {
order: 1,
color: 'blue',
};
case 'VARIABLE':
case 'LMM':
return {
order: 2,
color: 'cyan',
};
case 'VARIABLE':
return {
order: 3,
color: 'red',
};
case 'API':
return {
order: 3,
order: 4,
color: 'green',
};
case 'CUSTOM':
return {
order: 4,
order: 5,
color: undefined,
};
default:
Expand Down

0 comments on commit 0650ba5

Please sign in to comment.