mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-07 22:10:21 +08:00
feat: new input status bar style
This commit is contained in:
parent
c704b6c9e7
commit
a4a0b07fe9
@ -194,15 +194,17 @@ const Inputbar: FC<Props> = ({ assistant, setActiveTopic }) => {
|
|||||||
<Tag
|
<Tag
|
||||||
style={{
|
style={{
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
borderRadius: '20px',
|
borderRadius: '6px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
padding: '2px 8px'
|
padding: '2px 8px',
|
||||||
|
borderWidth: 0.5
|
||||||
}}>
|
}}>
|
||||||
<i className="iconfont icon-history" style={{ marginRight: '3px' }} />
|
<i className="iconfont icon-history" style={{ marginRight: '3px' }} />
|
||||||
{assistant?.settings?.contextCount ?? DEFAULT_CONEXTCOUNT}
|
{assistant?.settings?.contextCount ?? DEFAULT_CONEXTCOUNT}
|
||||||
<Divider type="vertical" style={{ marginTop: 2, marginLeft: 5, marginRight: 5 }} />↑
|
<Divider type="vertical" style={{ marginTop: 2, marginLeft: 5, marginRight: 5 }} />↑{inputTokenCount}
|
||||||
{`${inputTokenCount} / ${estimateTokenCount}`}
|
<span style={{ margin: '0 2px' }}>/</span>
|
||||||
|
{estimateTokenCount}
|
||||||
</Tag>
|
</Tag>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</TextCount>
|
</TextCount>
|
||||||
@ -304,7 +306,6 @@ const TextCount = styled.div`
|
|||||||
padding: 2px;
|
padding: 2px;
|
||||||
border-top-left-radius: 7px;
|
border-top-left-radius: 7px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
margin-right: 10px;
|
|
||||||
`
|
`
|
||||||
|
|
||||||
export default Inputbar
|
export default Inputbar
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user