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:
@@ -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>
|
||||
|
||||
@@ -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} />}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user