diff options
-rw-r--r-- | lib/gallery.common.css | 13 | ||||
-rw-r--r-- | modules/comment/views/admin_comments.html.php | 2 | ||||
-rw-r--r-- | modules/gallery/views/admin_themes.html.php | 8 | ||||
-rw-r--r-- | modules/user/views/admin_users.html.php | 2 | ||||
-rw-r--r-- | themes/wind/views/album.html.php | 2 | ||||
-rw-r--r-- | themes/wind/views/page.html.php | 2 | ||||
-rw-r--r-- | themes/wind/views/pager.html.php | 2 | ||||
-rw-r--r-- | themes/wind/views/sidebar.html.php | 2 |
8 files changed, 11 insertions, 22 deletions
diff --git a/lib/gallery.common.css b/lib/gallery.common.css index d100791e..740d9e87 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -321,20 +321,9 @@ form .g-error { *********************************************************************/ .g-clearfix, -#g-header:after, -#g-album-grid:after, -.g-pager:after, -#g-view-menu:after, #g-site-admin-menu:after, -#g-header:after, -#g-admin-comments-menu:after, -#g-group-admin:after, -.g-selected:after, -.g-available .g-block:after, #g-module-create-form ul li ul:after, -#g-developer-tools:after, -#g-photo-stream:after, -#g-view-menu:after { +#g-developer-tools:after { clear: both; content: "."; display: block; diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index 62c64d12..e32a843f 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -38,7 +38,7 @@ <h1> <?= t("Manage Comments") ?> </h1> <!-- @todo: Highlight active menu option --> - <div id="g-admin-comments-menu"> + <div id="g-admin-comments-menu" class="g-clearfix"> <?= $menu ?> </div> diff --git a/modules/gallery/views/admin_themes.html.php b/modules/gallery/views/admin_themes.html.php index 714b3af8..a75d9f04 100644 --- a/modules/gallery/views/admin_themes.html.php +++ b/modules/gallery/views/admin_themes.html.php @@ -14,7 +14,7 @@ <div id="g-site-theme"> <h2> <?= t("Gallery theme") ?> </h2> - <div class="g-block g-selected"> + <div class="g-block g-selected g-clearfix"> <img src="<?= url::file("themes/{$site}/thumbnail.png") ?>" alt="<?= html::clean_attribute($themes[$site]->name) ?>" /> <h3> <?= $themes[$site]->name ?> </h3> @@ -29,7 +29,7 @@ <? foreach ($themes as $id => $info): ?> <? if (!$info->site) continue ?> <? if ($id == $site) continue ?> - <div class="g-block"> + <div class="g-block g-clearfix"> <a href="<?= url::site("admin/themes/preview/site/$id") ?>" class="g-dialog-link" title="<?= t("Theme Preview: %theme_name", array("theme_name" => $info->name))->for_html_attr() ?>"> <img src="<?= url::file("themes/{$id}/thumbnail.png") ?>" alt="<?= html::clean_attribute($info->name) ?>" /> @@ -52,7 +52,7 @@ <div id="g-admin-theme"> <h2> <?= t("Admin theme") ?> </h2> - <div class="g-block g-selected"> + <div class="g-block g-selected g-clearfix"> <img src="<?= url::file("themes/{$admin}/thumbnail.png") ?>" alt="<?= html::clean_attribute($themes[$admin]->name) ?>" /> <h3> <?= $themes[$admin]->name ?> </h3> @@ -67,7 +67,7 @@ <? foreach ($themes as $id => $info): ?> <? if (!$info->admin) continue ?> <? if ($id == $admin) continue ?> - <div class="g-block"> + <div class="g-block g-clearfix"> <a href="<?= url::site("admin/themes/preview/admin/$id") ?>" class="g-dialog-link" title="<?= t("Theme Preview: %theme_name", array("theme_name" => $info->name))->for_html_attr() ?>"> <img src="<?= url::file("themes/{$id}/thumbnail.png") ?>" alt="<?= html::clean_attribute($info->name) ?>" /> diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php index 28daff29..a127bc15 100644 --- a/modules/user/views/admin_users.html.php +++ b/modules/user/views/admin_users.html.php @@ -103,7 +103,7 @@ </div> </div> -<div id="g-group-admin" class="g-block"> +<div id="g-group-admin" class="g-block g-clearfix"> <a href="<?= url::site("admin/users/add_group_form") ?>" class="g-dialog-link g-button g-right ui-icon-left ui-state-default ui-corner-all" title="<?= t("Create a new group")->for_html_attr() ?>"> diff --git a/themes/wind/views/album.html.php b/themes/wind/views/album.html.php index 5d928b2e..91646b1e 100644 --- a/themes/wind/views/album.html.php +++ b/themes/wind/views/album.html.php @@ -6,7 +6,7 @@ <div class="g-description"><?= nl2br(html::purify($item->description)) ?></div> </div> -<ul id="g-album-grid"> +<ul id="g-album-grid" class="g-clearfix"> <? if (count($children)): ?> <? foreach ($children as $i => $child): ?> <? $item_class = "g-photo"; ?> diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 6e1e3a53..fab4ba9e 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -76,7 +76,7 @@ <?= $theme->page_top() ?> <div id="doc4" class="yui-t5 g-view"> <?= $theme->site_status() ?> - <div id="g-header"> + <div id="g-header" class="g-clearfix"> <div id="g-banner"> <?= $theme->header_top() ?> <? if ($header_text = module::get_var("gallery", "header_text")): ?> diff --git a/themes/wind/views/pager.html.php b/themes/wind/views/pager.html.php index 5e79add6..2075fd95 100644 --- a/themes/wind/views/pager.html.php +++ b/themes/wind/views/pager.html.php @@ -1,6 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <? // See http://docs.kohanaphp.com/libraries/pagination ?> -<ul class="g-pager"> +<ul class="g-pager g-clearfix"> <? /* @todo This message isn't easily localizable */ $from_to_msg = t2("Photo %from_number of %count", "Photos %from_number - %to_number of %count", diff --git a/themes/wind/views/sidebar.html.php b/themes/wind/views/sidebar.html.php index d2551c52..c49a7b51 100644 --- a/themes/wind/views/sidebar.html.php +++ b/themes/wind/views/sidebar.html.php @@ -1,7 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <?= $theme->sidebar_top() ?> <div class="g-toolbar"> - <div id="g-view-menu" class="g-buttonset"> + <div id="g-view-menu" class="g-buttonset g-clearfix"> <? if ($page_type == "album"):?> <?= $theme->album_menu() ?> <? elseif ($page_type == "photo") : ?> |