fix pad.ma info page css
This commit is contained in:
parent
a579b2fde0
commit
0b9ddbbc55
1 changed files with 14 additions and 12 deletions
|
@ -360,8 +360,8 @@ pandora.ui.infoView = function(data) {
|
||||||
value: data.summary || ''
|
value: data.summary || ''
|
||||||
})
|
})
|
||||||
.css(css)
|
.css(css)
|
||||||
// this gets duplicated in the editable, result is 4px
|
// this gets duplicated in the editable, result is 16px
|
||||||
.css({marginTop: '2px'})
|
.css({marginTop: '8px'})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
submit: function(event) {
|
submit: function(event) {
|
||||||
editMetadata('summary', event.value);
|
editMetadata('summary', event.value);
|
||||||
|
@ -382,16 +382,18 @@ pandora.ui.infoView = function(data) {
|
||||||
.html(formatKey('license').replace('</span>', ' </span>'))
|
.html(formatKey('license').replace('</span>', ' </span>'))
|
||||||
.appendTo($div);
|
.appendTo($div);
|
||||||
Ox.Editable({
|
Ox.Editable({
|
||||||
placeholder: formatLight('No License'),
|
placeholder: formatLight('No License'),
|
||||||
tooltip: 'Doubleclick to edit',
|
tooltip: 'Doubleclick to edit',
|
||||||
value: (data.license || []).join(', ')
|
value: (data.license || []).join(', ')
|
||||||
})
|
})
|
||||||
.bindEvent({
|
// this gets duplicated in the editable, result is 16px
|
||||||
submit: function(event) {
|
.css({marginTop: '8px'})
|
||||||
editMetadata('license', event.value);
|
.bindEvent({
|
||||||
}
|
submit: function(event) {
|
||||||
})
|
editMetadata('license', event.value);
|
||||||
.appendTo($div);
|
}
|
||||||
|
})
|
||||||
|
.appendTo($div);
|
||||||
} else if (data.license) {
|
} else if (data.license) {
|
||||||
$div.html(
|
$div.html(
|
||||||
formatKey('License')
|
formatKey('License')
|
||||||
|
|
Loading…
Reference in a new issue