Commit a5134f4f authored by Matija Obreza's avatar Matija Obreza
Browse files

Image metadata overlay updated

parent 4f99d6a4
...@@ -20,11 +20,12 @@ const styles = (theme) => ({ ...@@ -20,11 +20,12 @@ const styles = (theme) => ({
right: 0, right: 0,
bottom: 0, bottom: 0,
fontSize: '10px', fontSize: '10px',
padding: '4px', // padding: '4px',
minHeight: '30px', // minHeight: '30px',
background: '#e7e5df', background: '#e7e5df',
border: 'solid gray', border: 'solid gray',
borderWidth: '1px 0 0 1px', // borderWidth: '1px 0 0 1px',
borderWidth: '0 0 0 0',
textTransform: 'initial' as 'initial', textTransform: 'initial' as 'initial',
'&:hover': { '&:hover': {
background: '#e7e5df', background: '#e7e5df',
...@@ -48,7 +49,7 @@ class ImageDetailsDialog extends React.Component<IImageDetailsDialog, any> { ...@@ -48,7 +49,7 @@ class ImageDetailsDialog extends React.Component<IImageDetailsDialog, any> {
public render() { public render() {
const { classes, t, image } = this.props; const { classes, t, image } = this.props;
const buttonText = image && (image.license || image.creator) ? `${image.license || ''} ${image.creator || ''}` : t('repository.public.c.imageDetailsDialog.userAndLicenseNotSpecified'); const buttonText = `©`;
return image ? ( return image ? (
<span className={ classes.root }> <span className={ classes.root }>
......
Supports Markdown
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