From 2eea7b874aa06f08ed58a85197473233b54693aa Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 23 Feb 2010 21:08:52 -0800 Subject: Specify the type for movie Item_Models correctly. Fixes ticket #1033. --- modules/g2_import/helpers/g2_import.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php index 9a91770a..95ec282d 100644 --- a/modules/g2_import/helpers/g2_import.php +++ b/modules/g2_import/helpers/g2_import.php @@ -530,6 +530,7 @@ class g2_import_Core { if (in_array($g2_item->getMimeType(), array("video/mp4", "video/x-flv"))) { try { $item = ORM::factory("item"); + $item->type = "movie"; $item->parent_id = $parent->id; $item->set_data_file($g2_path); $item->name = $g2_item->getPathComponent(); -- cgit v1.2.3 From e8eb23db42bb929548af358452f1b65e16b61913 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sat, 20 Mar 2010 14:55:41 -0600 Subject: Increase specificity for .g-item width to ensure it overrides the wind theme's default width when thumbnails are something other than the default. Fixes ticket #1053. --- themes/wind/css/screen.css | 6 ++++++ themes/wind/views/page.html.php | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css index e96b259d..f8e26073 100644 --- a/themes/wind/css/screen.css +++ b/themes/wind/css/screen.css @@ -213,10 +213,16 @@ td { padding-left: 0; } +/* Sidebar ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + #g-sidebar .g-block-content { padding-left: 1em; } +#g-sidebar #g-image-block { + overflow: hidden; +} + /* Album content ~~~~~~~~~~~~~~~~~~~~~~~~~ */ #g-content #g-album-grid { diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 61e34145..ebfbf700 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -35,10 +35,10 @@ page_type == "collection"): ?> - - + +