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',
description: 'Cherry Studio Storage'
})
window.keyv = new KeyvStorage()
window.keyv.init()

View File

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