made preview hidden when script is not active

This commit is contained in:
be5invis 2015-11-09 20:36:19 +08:00
parent 3c5fbc790a
commit 928bcef8fe
2 changed files with 3 additions and 1 deletions

View File

@ -141,6 +141,8 @@ span.options a.active, span.options a:hover {
background-position: 0px 1.075em;
}
snippet { display: none }
/* hljs */

View File

@ -35,7 +35,7 @@
<li><h2>Readme</h2>
<p>The instructions, building procedure, and other informations can be found in <a href="https://github.com/be5invis/Iosevka/blob/master/README.md">its readme</a>.</p>
</li>
<li><h2>Preview</h2>
<li v-show="(true)" style="display:none"><h2>Preview</h2>
<p><span id="theme-picker" class="options"><compact-picker v-bind:items="themes" v-bind:current.sync="theme" ></compact-picker></span>| <span id="snippet-picker" class="options"><compact-picker v-bind:items="snippets" v-bind:current.sync="snippet"></compact-picker></span></p>
</li>
</ul>