Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Website
Commits
a5134f4f
Commit
a5134f4f
authored
Jan 07, 2019
by
Matija Obreza
Browse files
Image metadata overlay updated
parent
4f99d6a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/repository/ui/c/ImageDetailsDialog.tsx
View file @
a5134f4f
...
...
@@ -20,11 +20,12 @@ const styles = (theme) => ({
right
:
0
,
bottom
:
0
,
fontSize
:
'
10px
'
,
padding
:
'
4px
'
,
minHeight
:
'
30px
'
,
//
padding: '4px',
//
minHeight: '30px',
background
:
'
#e7e5df
'
,
border
:
'
solid gray
'
,
borderWidth
:
'
1px 0 0 1px
'
,
// borderWidth: '1px 0 0 1px',
borderWidth
:
'
0 0 0 0
'
,
textTransform
:
'
initial
'
as
'
initial
'
,
'
&:hover
'
:
{
background
:
'
#e7e5df
'
,
...
...
@@ -48,7 +49,7 @@ class ImageDetailsDialog extends React.Component<IImageDetailsDialog, any> {
public
render
()
{
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
?
(
<
span
className
=
{
classes
.
root
}
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment