From 1dac99c9c2de2e9fe654cebf756aa8de4a6f0c67 Mon Sep 17 00:00:00 2001 From: KostyaDanovsky Date: Fri, 1 Sep 2017 18:54:03 +0300 Subject: [PATCH] fix(forms): improve forms layout styles --- .../form-layouts/form-layouts.component.html | 55 +++++++------------ .../form-layouts/form-layouts.component.scss | 14 ++--- 2 files changed, 24 insertions(+), 45 deletions(-) diff --git a/src/app/pages/forms/form-layouts/form-layouts.component.html b/src/app/pages/forms/form-layouts/form-layouts.component.html index 8ebd4147..4a39f8f9 100644 --- a/src/app/pages/forms/form-layouts/form-layouts.component.html +++ b/src/app/pages/forms/form-layouts/form-layouts.component.html @@ -1,25 +1,22 @@
- - Inline form - + Inline form
- -
+ +
@
- -
-
- Remember me +
+ Remember me
+
@@ -27,19 +24,19 @@
- +
- +
- +
- +
-
- Radios +
+
-
-
- -
-
- Check me out -
-
@@ -80,10 +69,9 @@ + - - Form without labels - + Form without labels
@@ -100,11 +88,10 @@
+
- - Basic form - + Basic form
@@ -122,10 +109,9 @@ + - - Block form - + Block form
@@ -160,12 +146,11 @@
+
- - Horizontal form - + Horizontal form
diff --git a/src/app/pages/forms/form-layouts/form-layouts.component.scss b/src/app/pages/forms/form-layouts/form-layouts.component.scss index ee48ae6f..86267d8f 100644 --- a/src/app/pages/forms/form-layouts/form-layouts.component.scss +++ b/src/app/pages/forms/form-layouts/form-layouts.component.scss @@ -1,11 +1,5 @@ -.form-inline { - display: flex; - - .fullname { - flex: 1; - } - - .username { - flex: 1; - } +.full-width { + flex: 1; + margin-right: 1.5rem; + min-width: 250px; }