patch: fixed style of diag button

This commit is contained in:
Peter Makra 2022-05-20 15:25:46 +02:00
parent 0089fec943
commit cbbf99259d

View File

@ -153,15 +153,25 @@ export function SettingsModal({ toggleModal }: SettingsModalProps) {
style={{ marginRight: 8 }} style={{ marginRight: 8 }}
/> />
<Txt style={{ borderBottom: '1px solid #00aeef' }}>{version}</Txt> <Txt style={{ borderBottom: '1px solid #00aeef' }}>{version}</Txt>
<br /> </Flex>
<Button <Flex
icon={<FontAwesomeIcon icon={faChartBar} />} mt={18}
onClick={() => openDiagFrame()} alignItems="center"
plain color="#00aeef"
size="small" style={{
> width: 'fit-content',
Run self-test cursor: 'pointer',
</Button> fontSize: 14,
}}
onClick={() => openDiagFrame()}
>
<FontAwesomeIcon
icon={faChartBar}
height="1em"
fill="currentColor"
style={{ marginRight: 8 }}
/>
<Txt style={{ borderBottom: '1px solid #00aeef' }}>Run self-test</Txt>
</Flex> </Flex>
</Flex> </Flex>