fix settings form

jh-changes
Shin'ya Ueoka 7 years ago
parent 8791ed4e5e
commit 8ba490ea11
  1. 9
      src/settings/settings.html
  2. 1
      src/settings/settings.scss

@ -4,10 +4,13 @@
<meta charset='utf-8'> <meta charset='utf-8'>
</head> </head>
<body> <body>
<h1>Configure</h1>
<h2>Home page</h2>
<form id='vimvixen-settings-form' class='vimvixen-settings-form'> <form id='vimvixen-settings-form' class='vimvixen-settings-form'>
<label for='plain-json'>Settings by plain json: </label> <label for='load-from-json'>Load from JSON:</label>
<textarea <textarea name='plain-json' spellcheck='false'></textarea>
name='plain-json'></textarea>
<button type='submit'>Save</button> <button type='submit'>Save</button>
</form> </form>
<script src='settings.js'></script> <script src='settings.js'></script>

@ -2,6 +2,7 @@
textarea[name=plain-json] { textarea[name=plain-json] {
font-family: monospace; font-family: monospace;
width: 100%; width: 100%;
min-height: 64ex;
resize: vertical; resize: vertical;
} }
} }