mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -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}";
|
||||
}
|
||||
|
||||
@@ -302,7 +302,7 @@ td {
|
||||
}
|
||||
|
||||
#g-item img.g-resize,
|
||||
#g-item a.g-movie object {
|
||||
#g-item a.g-movie {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user