logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 62a94ebed43cabd12c9fae6422e0e78cc9edb61b
parent: ac17309faf68ad338b42aad411709ee05be88028
Author: Lynx Kotoura <admin@sanin.link>
Date:   Mon,  4 Dec 2017 05:29:41 +0900

Add back button to keyboard shortcuts legend column (#5872)


Diffstat:

Mapp/javascript/mastodon/features/keyboard_shortcuts/index.js4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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>