From 65c2c18653feb5f6485710e9656b19e368bb2826 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 5 Sep 2016 17:34:11 -0700 Subject: [feature] webkit support: get the js and css working in older webkit engines --- www/app/css/common.css | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'www/app/css/common.css') diff --git a/www/app/css/common.css b/www/app/css/common.css index 4b48010..acf164e 100644 --- a/www/app/css/common.css +++ b/www/app/css/common.css @@ -56,4 +56,25 @@ body { /*.btn.btn-default { background-color: #eee !important; } -*/ \ No newline at end of file +*/ + +/* + * center component + */ + +.center-container { + position: absolute; + display: -webkit-flex; + -webkit-flex-flow: row nowrap; + -webkit-justify-content: center; + -webkit-align-content: center; + -webkit-align-items: center; + top: 0px; + left: 0px; + height: 100%; + width: 100%; +} + +.center-container .center-item { + -webkit-flex: 0 1 auto; +} -- cgit v1.2.3