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

View File

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

View File

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