mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
better styling of about button
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// Copyright (c) 2021 The Pybricks Authors
|
||||
|
||||
import {
|
||||
Button,
|
||||
Classes,
|
||||
Drawer,
|
||||
FormGroup,
|
||||
@@ -142,14 +143,16 @@ class SettingsDrawer extends React.PureComponent<SettingsProps> {
|
||||
</Tooltip>
|
||||
</FormGroup>
|
||||
<FormGroup label={i18n.translate(SettingsStringId.HelpTitle)}>
|
||||
<a
|
||||
<Button
|
||||
icon="info-sign"
|
||||
minimal={true}
|
||||
onClick={() => {
|
||||
onAbout();
|
||||
return true;
|
||||
}}
|
||||
>
|
||||
{i18n.translate(SettingsStringId.HelpAboutLabel)}
|
||||
</a>
|
||||
</Button>
|
||||
</FormGroup>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user