Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #7387 from luixxiul/aboutStyles-aphrodite
Browse files Browse the repository at this point in the history
Fix regression of about:styles
  • Loading branch information
bsclifton authored Feb 27, 2017
2 parents 7f4b048 + bb34137 commit c0d1f84
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions js/about/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

const React = require('react')
const ImmutableComponent = require('../components/immutableComponent')
const {StyleSheet, css} = require('aphrodite')
const {StyleSheet, css} = require('aphrodite/no-important')
const globalStyles = require('../../app/renderer/components/styles/global')

// Stylesheets go here
Expand Down Expand Up @@ -87,23 +87,23 @@ class AboutStyle extends ImmutableComponent {
</Code></Pre>
</Container>

<div className='container'>
<Container>
<h2>Plain textarea</h2>
<TextArea placeholder='TextArea' />
<pre><code>
<Pre><Code>
const { '{TextArea}' } = require('../../app/renderer/components/textbox'){'\n'}
&lt;TextArea />
</code></pre>
</div>
</Code></Pre>
</Container>

<div className='container'>
<Container>
<h2>Default textarea; font size is specified</h2>
<DefaultTextArea placeholder='DefaultTextArea' />
<pre><code>
<Pre><Code>
const { '{DefaultTextArea}' } = require('../../app/renderer/components/textbox'){'\n'}
&lt;DefaultTextArea />
</code></pre>
</div>
</Code></Pre>
</Container>

<hr />

Expand Down

0 comments on commit c0d1f84

Please sign in to comment.