]> CRI, Mines Paris - PSL - Portfolio.git/commitdiff
Astuce css pour force l'élément racine de la planche contact à être de la hauteur...
authorBenoît Pin <pin@cri.ensmp.fr>
Fri, 19 Jul 2013 12:58:18 +0000 (14:58 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Fri, 19 Jul 2013 12:58:18 +0000 (14:58 +0200)
skins/portfolio_style.css.dtml

index 2325550ba76018edd2e188148fc271f3c3fa23f0..7751fbb9a0c7f3f7b87170e024f3eb583d3dfed5 100755 (executable)
@@ -160,12 +160,17 @@ table.metadata_category select:focus {
   font-size: &dtml-fontSmallSize;;
 }
 
   font-size: &dtml-fontSmallSize;;
 }
 
-div.lightbox { /*the lightbox itself*/
-  min-height:300px;
+div.lightbox {
+  /* The lightbox itself.
+     Force this div to fit grid
+     effective height.
+  */
+  overflow:hidden; 
 }
 
 .photo-drop-target {
   background: url('&dtml-portal_url;/image-upload-dd-target.png') no-repeat center center;
 }
 
 .photo-drop-target {
   background: url('&dtml-portal_url;/image-upload-dd-target.png') no-repeat center center;
+  min-height:300px;
 }
 
 .lightbox span {
 }
 
 .lightbox span {