fix keymap field

jh-changes
Shin'ya Ueoka 7 years ago
parent c934550a02
commit 8c79b2c5e7
  1. 4
      src/settings/components/form/keymaps-form.jsx
  2. 8
      src/settings/components/form/keymaps-form.scss

@ -62,10 +62,10 @@ class KeymapsForm extends Component {
if (!values) {
values = {};
}
return <div className='keymap-fields'>
return <div className='form-keymaps-form'>
{
KeyMapFields.map((group, index) => {
return <div key={index} className='form-keymaps-form'>
return <div key={index} className='form-keymaps-form-field-group'>
{
group.map((field) => {
let name = field[0];

@ -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;
}
}