From: Benoît Pin Date: Fri, 19 Jul 2013 12:58:18 +0000 (+0200) Subject: Astuce css pour force l'élément racine de la planche contact à être de la hauteur... X-Git-Url: https://scm.cri.mines-paristech.fr/git/Portfolio.git/commitdiff_plain/6a5891a1f8de5066fad6d27e1e1bedb41beb32e0?ds=sidebyside;hp=a1d9306ca1fd046ba193348fd96789b577f7c467 Astuce css pour force l'élément racine de la planche contact à être de la hauteur totale des tuiles. --- diff --git a/skins/portfolio_style.css.dtml b/skins/portfolio_style.css.dtml index 2325550..7751fbb 100755 --- a/skins/portfolio_style.css.dtml +++ b/skins/portfolio_style.css.dtml @@ -160,12 +160,17 @@ table.metadata_category select:focus { 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; + min-height:300px; } .lightbox span {