style: adjust copilot chat style (#2915)

This commit is contained in:
JimmFly
2023-07-03 13:57:30 +08:00
committed by GitHub
parent 8d0edd5255
commit 6f9487deb7
5 changed files with 149 additions and 30 deletions

View File

@@ -13,15 +13,31 @@ export const detailContentStyle = style({
export const detailContentActionsStyle = style({
marginTop: 'auto',
alignItems: 'flex-end',
marginBottom: '10px',
fontSize: 'var(--affine-font-xs)',
display: 'flex',
width: '100%',
justifyContent: 'space-between',
});
export const inputStyle = style({
export const textareaStyle = style({
fontSize: 'var(--affine-font-xs)',
border: '1px solid var(--affine-border-color)',
width: '100%',
borderRadius: '4px',
background: 'var(--affine-hover-color)',
height: '117px',
padding: '8px 10px',
'::placeholder': {
color: 'var(--affine-text-secondary-color)',
},
});
export const sendButtonStyle = style({
marginTop: '10px',
borderRadius: '8px',
fontSize: 'var(--affine-font-xs)',
width: '16px',
height: '16px',
marginLeft: '8px',
':hover': {
cursor: 'pointer',
backgroundColor: 'transparent',
},
});