Skip to content

Commit

Permalink
fix style of font test element
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 22, 2015
1 parent 31acb8e commit da25224
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/index.html
Expand Up @@ -86,7 +86,7 @@ <h1 class="title">
</p>
</footer>
<script src="node_modules/highlightjs/highlight.pack.min.js"></script>
<script src="index.min.js"></script>
<script src="index.js"></script>
<script src="node_modules/react-vimjs/dist/vim.js"></script>
</body>

Expand Down
4 changes: 2 additions & 2 deletions src/main.tsx
Expand Up @@ -157,7 +157,7 @@ export default class Vim extends React.Component<Props, {}> {
}

render() {
const font_test_props = {
const font_test_style = {
fontStyle: 'normal',
fontVariant: 'normal',
fontWeight: 'normal',
Expand All @@ -175,7 +175,7 @@ export default class Vim extends React.Component<Props, {}> {
</div>
<audio id='vimjs-beep' src={this.props.beep}></audio>
<input id='vimjs-file' className='vimjs-invisible' type='file'/>
<div id='vimjs-font-test' className='vimjs-invisible' {...font_test_props}>m</div>
<div id='vimjs-font-test' className='vimjs-invisible' style={font_test_style}>m</div>
<div id='vimjs-trigger-dialog' className='modal'>
<div className='modal-dialog'>
<div className='modal-content'>
Expand Down

0 comments on commit da25224

Please sign in to comment.