X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/4e7bf262d117ff4103b0a733c79b2dce7b2a4151..0c00f9d96076ad46e2ee499230f3f22a1603675d:/src/components/text-field/text-field.tsx diff --git a/src/components/text-field/text-field.tsx b/src/components/text-field/text-field.tsx index 4788e18c..1cf9a81d 100644 --- a/src/components/text-field/text-field.tsx +++ b/src/components/text-field/text-field.tsx @@ -15,12 +15,23 @@ import { import RichTextEditor from 'react-rte'; import Margin = PropTypes.Margin; -type CssRules = 'textField'; +type CssRules = 'textField' | 'rte'; const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ textField: { - marginBottom: theme.spacing.unit * 3 + marginBottom: theme.spacing.unit }, + rte: { + fontFamily: 'Arial', + '& a': { + textDecoration: 'none', + color: theme.palette.primary.main, + '&:hover': { + cursor: 'pointer', + textDecoration: 'underline' + } + } + } }); type TextFieldProps = WrappedFieldProps & WithStyles; @@ -67,6 +78,7 @@ export const RichEditorTextField = withStyles(styles)( render() { return ;