Skip to content

Commit

Permalink
chore(version): 0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kangfenmao committed Jul 31, 2024
1 parent e64375a commit 29d6d60
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cherry-studio",
"version": "0.4.3",
"version": "0.4.4",
"description": "A powerful AI assistant for producer.",
"main": "./out/main/index.js",
"author": "[email protected]",
Expand Down
8 changes: 6 additions & 2 deletions src/renderer/src/pages/home/components/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ const Chat: FC<Props> = (props) => {

return (
<Container id="chat">
<Flex vertical flex={1} justify="space-between">
<Main vertical flex={1} justify="space-between">
<Messages assistant={assistant} topic={activeTopic} />
<Inputbar assistant={assistant} setActiveTopic={setActiveTopic} />
</Flex>
</Main>
<RightSidebar assistant={assistant} activeTopic={activeTopic} setActiveTopic={setActiveTopic} />
</Container>
)
Expand All @@ -35,4 +35,8 @@ const Container = styled.div`
justify-content: space-between;
`

const Main = styled(Flex)`
height: calc(100vh - var(--navbar-height));
`

export default Chat
2 changes: 1 addition & 1 deletion src/renderer/src/pages/home/components/Inputbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const Container = styled.div`
display: flex;
flex-direction: column;
width: 100%;
min-height: var(--input-bar-height);
height: var(--input-bar-height);
border-top: 0.5px solid var(--color-border);
padding: 5px 15px;
transition: all 0.3s ease;
Expand Down

0 comments on commit 29d6d60

Please sign in to comment.