mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 06:28:59 +00:00
* Fix lack of height of the getting-started menu. (Fix #7854) Include the height of navigation bar at the height of getting-started menu. * Remove item "Security" on the getting-started menu.
This commit is contained in:
parent
80bda9719d
commit
926bfce465
|
@ -79,7 +79,7 @@ export default class GettingStarted extends ImmutablePureComponent {
|
||||||
|
|
||||||
const navItems = [];
|
const navItems = [];
|
||||||
let i = 1;
|
let i = 1;
|
||||||
let height = 0;
|
let height = (multiColumn) ? 0 : 60;
|
||||||
|
|
||||||
if (multiColumn) {
|
if (multiColumn) {
|
||||||
navItems.push(
|
navItems.push(
|
||||||
|
@ -109,10 +109,9 @@ export default class GettingStarted extends ImmutablePureComponent {
|
||||||
navItems.push(
|
navItems.push(
|
||||||
<ColumnSubheading key={i++} text={intl.formatMessage(messages.settings_subheading)} />,
|
<ColumnSubheading key={i++} text={intl.formatMessage(messages.settings_subheading)} />,
|
||||||
<ColumnLink key={i++} icon='gears' text={intl.formatMessage(messages.preferences)} href='/settings/preferences' />,
|
<ColumnLink key={i++} icon='gears' text={intl.formatMessage(messages.preferences)} href='/settings/preferences' />,
|
||||||
<ColumnLink key={i++} icon='lock' text={intl.formatMessage(messages.security)} href='/auth/edit' />
|
|
||||||
);
|
);
|
||||||
|
|
||||||
height += 34 + 48*2;
|
height += 34 + 48;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue