From: Laury GvR Date: Tue, 5 Jan 2016 18:32:42 +0000 (-0500) Subject: Limit package image height. X-Git-Tag: v1.0.13^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c3c2c29576b4d97f63149dab8cd79d7069ee2449;p=WP-Plugins%2Fglm-member-db-packaging.git Limit package image height. --- diff --git a/css/front.css b/css/front.css index 602d20e..c61c1d1 100644 --- a/css/front.css +++ b/css/front.css @@ -38,6 +38,9 @@ div.member div.address { color: #73bf45; font-weight: normal; } +.glm-member-img-wrap { + max-height: 200px; +} #content-wrapper .member > .member-title, #content-wrapper .package-info > .package-title { clear: left; @@ -70,13 +73,13 @@ div.member div.address { .glm-member-package-container .address > * { line-height: 1.25; } -.glm-member-package-container img { - display: block; - float: right; - min-width: 100px; - overflow: hidden; - padding: 20px 3%; - width: 30%; +.glm-member-package-container .glm-member-img-wrap { + float: right; + max-height: 200px; + overflow: hidden; + width: 30%; + padding: 20px 3%; + min-width: 100px; } div.member div.address a.email { display: block; diff --git a/glm-member-db-packaging.php b/glm-member-db-packaging.php index 919c860..96a8f78 100644 --- a/glm-member-db-packaging.php +++ b/glm-member-db-packaging.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database Packaging * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.0.11 + * Version: 1.0.13 * Author: Chuck Scott * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -33,7 +33,7 @@ * version when there's a change in the database!! Use the * version nunmber of that release for the DB version. */ -define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.0.11'); +define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.0.13'); define('GLM_MEMBERS_PACKAGING_PLUGIN_DB_VERSION', '0.0.2'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/views/front/packaging/list.html b/views/front/packaging/list.html index a470868..ea9f987 100644 --- a/views/front/packaging/list.html +++ b/views/front/packaging/list.html @@ -19,7 +19,9 @@
{if $m.logo} +
+
{/if}

{$m.member_name}

@@ -54,7 +56,9 @@
{if $p.image} +
+
{/if}

{$p.title}

{if $p.descr} @@ -85,7 +89,9 @@
{if $p.member.logo} +
+
{/if}

{$p.member.member_name}

@@ -117,7 +123,9 @@
{if $p.image} +
+
{/if}

{$p.title}

{if $p.descr}