diff --git a/src/components/AboutDialog.tsx b/src/components/AboutDialog.tsx index 6de10b1a..261098e1 100644 --- a/src/components/AboutDialog.tsx +++ b/src/components/AboutDialog.tsx @@ -19,6 +19,8 @@ import { import { AboutStringId } from './about-i18n'; import en from './about-i18n.en.json'; +import './about.scss'; + type StateProps = { showAboutDialog: boolean }; type DispatchProps = { onClose: () => void }; @@ -31,6 +33,9 @@ class AboutDialog extends React.Component { return ( onClose()}>
+
+ +

{i18n.translate(AboutStringId.Description)}

diff --git a/src/components/about.scss b/src/components/about.scss new file mode 100644 index 00000000..d27e8f69 --- /dev/null +++ b/src/components/about.scss @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: MIT +// Copyright (c) 2021 The Pybricks Authors + +.pb-about-icon { + float: left; + margin-right: 10px; +}