fix(about): changelog overflow

This commit is contained in:
kangfenmao 2024-07-16 17:27:16 +08:00
parent 8c23d6ec55
commit 80e34688b1
2 changed files with 6 additions and 2 deletions

View File

@ -10,6 +10,7 @@ function init() {
storeName: 'cherryai', storeName: 'cherryai',
description: 'Cherry Studio Storage' description: 'Cherry Studio Storage'
}) })
window.keyv = new KeyvStorage() window.keyv = new KeyvStorage()
window.keyv.init() window.keyv.init()

View File

@ -19,7 +19,7 @@ const AboutSettings: FC = () => {
return ( return (
<Container> <Container>
<Avatar src={Logo} size={100} style={{ marginTop: 50 }} /> <Avatar src={Logo} size={100} style={{ marginTop: 50, minHeight: 100 }} />
<Title> <Title>
Cherry Studio <Version>(v{version})</Version> Cherry Studio <Version>(v{version})</Version>
</Title> </Title>
@ -32,9 +32,12 @@ const AboutSettings: FC = () => {
const Container = styled.div` const Container = styled.div`
padding: 20px; padding: 20px;
display: flex; display: flex;
width: 100%; flex: 1;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: flex-start;
height: calc(100vh - var(--navbar-height));
overflow-y: scroll;
` `
const Title = styled.div` const Title = styled.div`