Unverified Commit 31fdac1e authored by Andrey Azov's avatar Andrey Azov Committed by GitHub
Browse files

Update contextual help (#545)

parent a1314d42
Pipeline #182121 passed with stages
in 4 minutes and 36 seconds
......@@ -56,7 +56,7 @@ export const SpeciesSelectorAppBar = (props: Props) => {
<AppBar
appName="Species Selector"
mainContent={mainContent}
aside={<HelpPopupButton slug="species-selector" />}
aside={<HelpPopupButton slug="species-selector-intro" />}
/>
);
};
......
......@@ -92,8 +92,8 @@
top: 7px;
right: 20px;
display: grid;
grid-template-columns: auto auto;
height: 28px;
grid-template-columns: repeat(2, auto);
align-items: start;
.howToUse {
display: grid;
......@@ -115,7 +115,7 @@
.conversationIcon {
width: 40px;
margin-left: 15px;
margin-left: 20px;
height: 25px;
}
}
......
......@@ -38,11 +38,12 @@
.appBarAside {
grid-area: right;
display: flex;
align-items: flex-start;
justify-content: flex-end;
.conversationIcon {
width: 40px;
margin-left: 15px;
margin-left: 20px;
height: 25px;
}
}
......
......@@ -17,11 +17,8 @@
import React, { useState } from 'react';
import classNames from 'classnames';
import { isEnvironment, Environment } from 'src/shared/helpers/environment';
import Modal from 'src/shared/components/modal/Modal';
import HelpPopupBody from './HelpPopupBody';
import { HelpAndDocumentation } from 'src/shared/components/app-bar/AppBar';
import { ReactComponent as HelpIcon } from 'static/img/launchbar/help.svg';
......@@ -44,10 +41,6 @@ const HelpPopupButton = (props: Props) => {
setShouldShowModal(false);
};
if (isEnvironment([Environment.PRODUCTION])) {
return <HelpAndDocumentation />;
}
const labelClasses = classNames(styles.label, props.labelClass);
return (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment