style: temporarily adjust the style of the co-pilot (#2804)

This commit is contained in:
JimmFly
2023-06-16 15:12:59 +08:00
committed by GitHub
parent 03c0b6b364
commit f83c92cb87
5 changed files with 37 additions and 10 deletions

View File

@@ -4,4 +4,6 @@ export const conversationListStyle = style({
display: 'flex',
flexDirection: 'column',
gap: '30px',
height: 'calc(100% - 100px)',
overflow: 'auto',
});

View File

@@ -2,6 +2,9 @@ import { style } from '@vanilla-extract/css';
export const conversationStyle = style({
padding: '10px 18px',
border: '1px solid var(--affine-border-color)',
fontSize: 'var(--affine-font-xs)',
lineHeight: '16px',
});
export const aiMessageStyle = style({
@@ -11,5 +14,5 @@ export const aiMessageStyle = style({
export const humanMessageStyle = style({
borderRadius: '18px 18px 2px 18px',
backgroundColor: 'white',
backgroundColor: 'var(--affine-white-90)',
});

View File

@@ -6,12 +6,15 @@ export const followingUpStyle = style({
flexWrap: 'wrap',
gap: '10px',
alignItems: 'flex-start',
marginTop: '10px',
marginBottom: '10px',
});
export const questionStyle = style({
backgroundColor: 'white',
backgroundColor: 'var(--affine-white-90)',
fontSize: 'var(--affine-font-xs)',
border: '1px solid var(--affine-border-color)',
borderRadius: '8px',
color: '#8E8D91',
padding: '2px 10px',
padding: '6px 12px',
cursor: 'pointer',
});