From 6a4023bbe7dd22d2e449b06e4ee6905278346f75 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 4 Nov 2015 12:54:17 +1030 Subject: [PATCH] Align checkboxes and textareas to the left in centered forms --- framework/core/less/lib/Form.less | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/framework/core/less/lib/Form.less b/framework/core/less/lib/Form.less index 246b4b52a..f1d707fe1 100755 --- a/framework/core/less/lib/Form.less +++ b/framework/core/less/lib/Form.less @@ -9,7 +9,10 @@ .Form--centered { text-align: center; - .FormControl, .Button { + .FormControl[type=text], + .FormControl[type=email], + .FormControl[type=password], + .Button { margin: 0 auto; text-align: center; height: 50px; @@ -20,6 +23,9 @@ .Form-group { margin-bottom: 12px; } + .checkbox { + text-align: left; + } } .Form-group > label {