- client: fix button position

This commit is contained in:
Ildar Kamalov 2020-02-07 18:37:39 +03:00
parent 26c47e59dd
commit 8d039c572f
1 changed files with 6 additions and 4 deletions

View File

@ -81,12 +81,14 @@ class Settings extends Component {
<Fragment> <Fragment>
{status === STATIC_STATUS.DISABLED && ( {status === STATIC_STATUS.DISABLED && (
<Fragment> <Fragment>
<Trans values={{ ip }} components={[<strong key="0">text</strong>]}> <div className="mb-2">
install_static_configure <Trans values={{ ip }} components={[<strong key="0">text</strong>]}>
</Trans> install_static_configure
</Trans>
</div>
<button <button
type="button" type="button"
className="btn btn-secondary btn-sm ml-2" className="btn btn-outline-primary btn-sm"
onClick={() => handleStaticIp()} onClick={() => handleStaticIp()}
> >
<Trans>set_static_ip</Trans> <Trans>set_static_ip</Trans>