From: Pawel Kowalczyk Date: Tue, 14 May 2019 09:14:34 +0000 (+0200) Subject: back-button X-Git-Tag: 1.4.0~11^2~2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/37a1d67e8325906b9cfbb6bf3df608e72bd33b67 back-button Feature #15020 Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk --- diff --git a/src/views/collection-content-address-panel/collection-content-address-panel.tsx b/src/views/collection-content-address-panel/collection-content-address-panel.tsx index dfe1b5bf..425588f1 100644 --- a/src/views/collection-content-address-panel/collection-content-address-panel.tsx +++ b/src/views/collection-content-address-panel/collection-content-address-panel.tsx @@ -3,10 +3,7 @@ // SPDX-License-Identifier: AGPL-3.0 import * as React from 'react'; -import { Link } from 'react-router-dom'; -import { - StyleRulesCallback, WithStyles, withStyles, Grid -} from '@material-ui/core'; +import { StyleRulesCallback, WithStyles, withStyles, Grid, Button } from '@material-ui/core'; import { CollectionIcon } from '~/components/icon/icon'; import { ArvadosTheme } from '~/common/custom-theme'; import { BackIcon } from '~/components/icon/icon'; @@ -29,12 +26,12 @@ type CssRules = 'backLink' | 'backIcon' | 'card' | 'title' | 'iconHeader' | 'lin const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ backLink: { - fontSize: '1rem', + fontSize: '14px', fontWeight: 600, display: 'flex', alignItems: 'center', - textDecoration: 'none', padding: theme.spacing.unit, + marginBottom: theme.spacing.unit, color: theme.palette.grey["700"], }, backIcon: { @@ -132,10 +129,12 @@ export const CollectionsContentAddressPanel = withStyles(styles)( class extends React.Component> { render() { return - {/* + = (theme: ArvadosTheme) => ({ backLink: { - fontSize: '1rem', + fontSize: '14px', fontWeight: 600, display: 'flex', alignItems: 'center', @@ -72,7 +72,7 @@ export const ProcessLogMainCard = withStyles(styles)( ({ classes, process, selectedFilter, filters, onChange, lines, onContextMenu, navigateToLogCollection }: ProcessLogMainCardProps & WithStyles) => - Back + BACK