Merge pull request #1552 from dave4506/feature/portal/fix-highlight-state-back-to-relayers

Added a highlight state to back button
This commit is contained in:
dave4506
2019-01-31 19:23:49 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ export const BackButton = (props: BackButtonProps) => {
<i style={styles.backButtonIcon} className={`zmdi zmdi-arrow-left`} />
</div>
<div style={{ marginLeft: 12, marginRight: 12 }}>
<div style={{ fontSize: 16, color: colors.lightGrey }}>{props.labelText}</div>
<div style={{ fontSize: 16, color: colors.mediumBlue }}>{props.labelText}</div>
</div>
</Island>
</Link>

View File

@@ -321,7 +321,7 @@ export class Portal extends React.Component<PortalProps, PortalState> {
};
return (
<Section
header={<BackButton to={WebsitePaths.Portal} labelText="back to Relayers" />}
header={<BackButton to={WebsitePaths.Portal} labelText="Back to Relayers" />}
body={<Menu selectedPath={routeComponentProps.location.pathname} theme={menuTheme} />}
/>
);