From c4578fb4005caa20b6450a42dfc13c8eb9a7b3b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 29 May 2015 16:05:57 +0200 Subject: [PATCH] style: vertical-align cell text to the bottom (#7396) --- wcs/qommon/static/css/dc2/gadjo.css | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/wcs/qommon/static/css/dc2/gadjo.css b/wcs/qommon/static/css/dc2/gadjo.css index a3895c3..c487c42 100644 --- a/wcs/qommon/static/css/dc2/gadjo.css +++ b/wcs/qommon/static/css/dc2/gadjo.css @@ -276,7 +276,7 @@ ul.apps { } ul.apps li { - display: block; + display: table; float: left; margin-right: 1em; margin-bottom: 1em; @@ -286,13 +286,11 @@ ul.apps li a { background-color: transparent; background-repeat: no-repeat; background-position: 50% 50%; -} - -ul.apps li a { - display: block; + display: table-cell; + vertical-align: bottom; width: 120px; - height: 30px; - padding-top: 90px; + height: 110px; + padding-bottom: 10px; font-weight: bold; text-align: center; border: 1px dotted #666; -- 2.1.4