forked from 0x2620/pandora
fix pad.ma info page css
This commit is contained in:
parent
0b9ddbbc55
commit
011fed137d
1 changed files with 2 additions and 5 deletions
|
@ -359,9 +359,8 @@ pandora.ui.infoView = function(data) {
|
||||||
type: 'textarea',
|
type: 'textarea',
|
||||||
value: data.summary || ''
|
value: data.summary || ''
|
||||||
})
|
})
|
||||||
|
// 4px marginTop gets duplicated in the editable, result is 8px
|
||||||
.css(css)
|
.css(css)
|
||||||
// this gets duplicated in the editable, result is 16px
|
|
||||||
.css({marginTop: '8px'})
|
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
submit: function(event) {
|
submit: function(event) {
|
||||||
editMetadata('summary', event.value);
|
editMetadata('summary', event.value);
|
||||||
|
@ -375,7 +374,7 @@ pandora.ui.infoView = function(data) {
|
||||||
|
|
||||||
// License -----------------------------------------------------------------
|
// License -----------------------------------------------------------------
|
||||||
|
|
||||||
$div = $('<div>').css(css).css({marginTop: '4px'}).appendTo($center);
|
$div = $('<div>').css(css).css({marginTop: '8px'}).appendTo($center);
|
||||||
if (canEdit) {
|
if (canEdit) {
|
||||||
$('<div>')
|
$('<div>')
|
||||||
.css({float: 'left'})
|
.css({float: 'left'})
|
||||||
|
@ -386,8 +385,6 @@ pandora.ui.infoView = function(data) {
|
||||||
tooltip: 'Doubleclick to edit',
|
tooltip: 'Doubleclick to edit',
|
||||||
value: (data.license || []).join(', ')
|
value: (data.license || []).join(', ')
|
||||||
})
|
})
|
||||||
// this gets duplicated in the editable, result is 16px
|
|
||||||
.css({marginTop: '8px'})
|
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
submit: function(event) {
|
submit: function(event) {
|
||||||
editMetadata('license', event.value);
|
editMetadata('license', event.value);
|
||||||
|
|
Loading…
Reference in a new issue