From c04185fa3d70b72b34420a62cd69a19a19f998b5 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Sun, 25 May 2014 11:13:59 +0200 Subject: [PATCH] New utility class for vertical centering --- core/client/assets/sass/modules/global.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/client/assets/sass/modules/global.scss b/core/client/assets/sass/modules/global.scss index 9abd4bd661..c9a6e2bc5b 100644 --- a/core/client/assets/sass/modules/global.scss +++ b/core/client/assets/sass/modules/global.scss @@ -61,6 +61,11 @@ .clearfix:after { clear: both; } .clearfix { *zoom: 1; } +.vertical { + display: table-cell; + vertical-align: middle; +} + /* ========================================================================== Global Styles