Revert "Update style for grid view images."
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 25 Jan 2017 13:15:32 +0000 (08:15 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 25 Jan 2017 13:15:32 +0000 (08:15 -0500)
This reverts commit 4f2811cb04cb6afa7dfc7875a8e66c0408e61986.

config/plugin.ini
css/front.css

index ae5c5a2..98ff805 100644 (file)
@@ -1,14 +1,14 @@
 ;
 ; Main Configuration File
-; Gaslight Media Members Database Plugin
+; Gaslight Media Members Database Plugin 
 ;
 
 ; Image sizes array is outsize of the sections below and is added to $config after the section is selected.
 ; Any sizes added to this section will used by the Data Abstract to generate that size when images are uploaded.
-;    Crop value:
+;    Crop value: 
 ;       1. If false (default), images will not be cropped.
-;       2. If true, images will be cropped to the specified width/height aspect ratio.
-
+;       2. If true, images will be cropped to the specified width/height aspect ratio. 
+    
 [imageSizes]
 
 large['width'] = 800
@@ -27,9 +27,9 @@ thumb['width'] = 60
 thumb['height'] = null
 thumb['crop'] = null
 
-grid['width'] = 565
-grid['height'] = 390
-grid['crop'] = 1
+grid['width'] = 360
+grid['height'] = 270
+grid['crop'] = null
 
 [common]
 
index 3aaad6b..b8546b8 100644 (file)
     height: auto;
 }
 .glm-member-db-list .glm-member-list-image {
-    /* width: 100%; */
+    width: 100%;
 }
 glm-member-db-list.glm-member-db-grid-view .glm-member-list-image {
     position: absolute;
@@ -473,12 +473,11 @@ glm-member-db-list.glm-member-db-grid-view .glm-member-list-image {
 .glm-member-db-grid-view .glm-member-list-image {
     bottom: 0;
     left: 0;
-    /* min-height: 100%; */
-    /* min-width: 100%; */
+    min-height: 100%;
+    min-width: 100%;
     position: absolute;
     right: 0;
     top: 0;
-    margin: 0 auto;
 }
 /*
  * Grid-view styles end