customck css

This commit is contained in:
Sanj 2012-03-04 12:01:35 +05:30
parent d863a515e3
commit f7da9a6a16
3 changed files with 7 additions and 4 deletions

View File

@ -349,7 +349,7 @@ def imagebox_resize(request):
'width': box.width, 'width': box.width,
'height': box.height 'height': box.height
}) })
box.resize(width, height) # box.resize(width, height)
box.set_css('width', width) box.set_css('width', width)
box.set_css('height', height) box.set_css('height', height)
box.save() box.save()
@ -361,7 +361,7 @@ def imagebox_resize(request):
'prop': 'image_resize', 'prop': 'image_resize',
'old_val': old_value, 'old_val': old_value,
'new_val': json.dumps({ 'new_val': json.dumps({
'path': box.get_path(), 'path': resizedPath,
'width': width, 'width': width,
'height': height 'height': height
}), }),

View File

@ -23,3 +23,5 @@ CKEDITOR.editorConfig = function( config )
// config.language = 'fr'; // config.language = 'fr';
// config.uiColor = '#AADC6E'; // config.uiColor = '#AADC6E';
}; };

View File

@ -6,8 +6,9 @@ body, html {
} }
p, p * { p, p * {
padding: 0; line-height: 100%;
margin-top: 0px; padding: 0px;
margin: 0px;
} }