mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-05 11:19:07 -04:00
Fix for ticket #1117 align videos to the center.
This commit is contained in:
@@ -684,8 +684,8 @@ class Item_Model extends ORM_MPTT {
|
||||
}
|
||||
}
|
||||
|
||||
$v->attrs = array_merge($extra_attrs,
|
||||
array("style" => "display:block;width:{$width}px;height:{$height}px"));
|
||||
$v->attrs = array_merge($extra_attrs, array("style" => "width:{$width}px;height:{$height}px",
|
||||
"class" => "g-movie"));
|
||||
if (empty($v->attrs["id"])) {
|
||||
$v->attrs["id"] = "g-item-id-{$this->id}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user