fix(about): changelog overflow
This commit is contained in:
parent
8c23d6ec55
commit
80e34688b1
@ -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()
|
||||||
|
|
||||||
|
|||||||
@ -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`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user