forked from 0x2620/pandora
fix pad.ma info page css
This commit is contained in:
parent
ec62c46e7d
commit
cb62ff8630
1 changed files with 2 additions and 5 deletions
|
@ -260,7 +260,6 @@ pandora.ui.infoView = function(data) {
|
||||||
})
|
})
|
||||||
.appendTo($div);
|
.appendTo($div);
|
||||||
});
|
});
|
||||||
$('<br>').appendTo($center);
|
|
||||||
} else {
|
} else {
|
||||||
html = [];
|
html = [];
|
||||||
['location', 'date', 'language', 'duration'].forEach(function(key) {
|
['location', 'date', 'language', 'duration'].forEach(function(key) {
|
||||||
|
@ -300,7 +299,6 @@ pandora.ui.infoView = function(data) {
|
||||||
})
|
})
|
||||||
.appendTo($div);
|
.appendTo($div);
|
||||||
});
|
});
|
||||||
$('<br>').appendTo($center);
|
|
||||||
} else if (data.director || data.cinematographer || data.featuring) {
|
} else if (data.director || data.cinematographer || data.featuring) {
|
||||||
html = [];
|
html = [];
|
||||||
['director', 'cinematographer', 'featuring'].forEach(function(key) {
|
['director', 'cinematographer', 'featuring'].forEach(function(key) {
|
||||||
|
@ -341,7 +339,6 @@ pandora.ui.infoView = function(data) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.appendTo($div);
|
.appendTo($div);
|
||||||
$('<br>').appendTo($center);
|
|
||||||
|
|
||||||
} else if (data.topic) {
|
} else if (data.topic) {
|
||||||
html = formatKey('topics') + formatValue(data.topic, 'topic');
|
html = formatKey('topics') + formatValue(data.topic, 'topic');
|
||||||
|
@ -360,10 +357,10 @@ pandora.ui.infoView = function(data) {
|
||||||
placeholder: formatLight('No Summary'),
|
placeholder: formatLight('No Summary'),
|
||||||
tooltip: canEdit ? 'Doubleclick to edit' : '',
|
tooltip: canEdit ? 'Doubleclick to edit' : '',
|
||||||
type: 'textarea',
|
type: 'textarea',
|
||||||
value: data.summary || '',
|
value: data.summary || ''
|
||||||
//width: 300
|
|
||||||
})
|
})
|
||||||
.css(css)
|
.css(css)
|
||||||
|
.css({marginTop: '2px'})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
submit: function(event) {
|
submit: function(event) {
|
||||||
editMetadata('summary', event.value);
|
editMetadata('summary', event.value);
|
||||||
|
|
Loading…
Reference in a new issue