From 8c79b2c5e7e3b25ce5eb0fa94e856b5b9b1f77f1 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 26 Nov 2017 21:06:39 +0900 Subject: fix keymap field --- src/settings/components/form/keymaps-form.jsx | 4 ++-- src/settings/components/form/keymaps-form.scss | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'src/settings') diff --git a/src/settings/components/form/keymaps-form.jsx b/src/settings/components/form/keymaps-form.jsx index f64320c..8ec0456 100644 --- a/src/settings/components/form/keymaps-form.jsx +++ b/src/settings/components/form/keymaps-form.jsx @@ -62,10 +62,10 @@ class KeymapsForm extends Component { if (!values) { values = {}; } - return
+ return
{ KeyMapFields.map((group, index) => { - return
+ return
{ group.map((field) => { let name = field[0]; diff --git a/src/settings/components/form/keymaps-form.scss b/src/settings/components/form/keymaps-form.scss index 3a83910..1a4e5cd 100644 --- a/src/settings/components/form/keymaps-form.scss +++ b/src/settings/components/form/keymaps-form.scss @@ -1,9 +1,11 @@ .form-keymaps-form { column-count: 3; - .keymap-fields-group { + + &-field-group { margin-top: 24px; } - .keymap-fields-group:first-of-type { - margin-top: 0; + + &-field-group:first-of-type { + margin-top: 24px; } } -- cgit v1.2.3