Commit 30e89ab2 authored by kiz_0987's avatar kiz_0987

#132734 Removed hardcoding of center

parent a648aa86
......@@ -76,8 +76,7 @@ function _gallery_block($op = 'list', $delta = 0, $edit = array()) {
} else {
$block['subject'] = $typeMap[$params['blocks']];
}
// TODO: This should not be hardcoded, but included in the CSS.
$block['content'] = '<center>' . $content . '</center>';
$block['content'] = '<div class="g2image_centered">' . $content . '</div>';
}
}
if ($head) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment