Skip to content

Commit

Permalink
fix: update progress bar not visible
Browse files Browse the repository at this point in the history
  • Loading branch information
KochiyaOcean committed Aug 13, 2022
1 parent 73342ac commit c64eeab
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions views/components/settings/about/update/index.es
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { SwitchConfig } from 'views/components/settings/components/switch'
import { DownloadProgress } from './download-progress'
import { FCD } from './fcd'
import { WctfDB } from './wctf-db'
import styled from 'styled-components'

const { changeChannel } = process.platform !== 'linux' ? remote.require('./lib/updater') : {}

Expand All @@ -20,13 +21,21 @@ config.on('config.set', (path, value) => {
}
})

const FullWidthFormGroup = styled(FormGroup)`
width: 100%;
& > div {
width: 100%;
}
`

export const Update = withNamespaces(['setting'])(({ t }) => (
<Section title={t('Update')}>
<Wrapper>
<Wrapper>
<FormGroup inline style={{ width: '100%' }}>
<FullWidthFormGroup inline>
<DownloadProgress />
</FormGroup>
</FullWidthFormGroup>
</Wrapper>
<Wrapper>
<FormGroup inline>
Expand Down

0 comments on commit c64eeab

Please sign in to comment.