diff options
author | Lynx Kotoura <admin@sanin.link> | 2017-12-04 05:29:41 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-12-03 21:29:41 +0100 |
commit | 62a94ebed43cabd12c9fae6422e0e78cc9edb61b (patch) | |
tree | c9adc1a90abe62c1828eaded8b276fcf3d9bed3d /app | |
parent | ac17309faf68ad338b42aad411709ee05be88028 (diff) |
Add back button to keyboard shortcuts legend column (#5872)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/features/keyboard_shortcuts/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/keyboard_shortcuts/index.js b/app/javascript/mastodon/features/keyboard_shortcuts/index.js index 8ab85dde9..22991fcba 100644 --- a/app/javascript/mastodon/features/keyboard_shortcuts/index.js +++ b/app/javascript/mastodon/features/keyboard_shortcuts/index.js @@ -1,5 +1,6 @@ import React from 'react'; import Column from '../ui/components/column'; +import ColumnBackButtonSlim from '../../components/column_back_button_slim'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-component'; @@ -20,7 +21,8 @@ export default class KeyboardShortcuts extends ImmutablePureComponent { const { intl } = this.props; return ( - <Column icon='question' heading={intl.formatMessage(messages.heading)} hideHeadingOnMobile> + <Column icon='question' heading={intl.formatMessage(messages.heading)}> + <ColumnBackButtonSlim /> <div className='keyboard-shortcuts scrollable optionally-scrollable'> <table> <thead> |