From fbb69b09ba327bc8871cd46d874b301e694b370e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rasmus=20W=C3=B8lk?= <640976+rasmuswoelk@users.noreply.github.com> Date: Fri, 31 May 2019 17:13:42 +0200 Subject: [PATCH] refactoring and STCOM-529 (vertical label) (#974) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added 'vertical'-prop for Checkbox which makes it possible to render the label above the checkbox. This change required both structural and style changes. While making the changes I did some minor refactoring and cleaned up the CSS a bit. Updated FilterGroups to match the changes for Checkbox. Added label margin as a variable because I needed to reference it within the Checkbox-component. Also updated Checkbox examples to display a vertical example. * Only apply the 'for'-prop on the root