diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-10-02 01:04:25 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-10-02 01:04:25 +0200 |
commit | d22d090b0508099e61e25ab52cbd29a0d49a19c1 (patch) | |
tree | 35ce9839935378ff7280f3e2fcd7cf6a7ae9fe3d /packages/gitbook-core/src | |
parent | 24b657f7902bf15f433515893cded60ea1b76db8 (diff) | |
download | gitbook-d22d090b0508099e61e25ab52cbd29a0d49a19c1.zip gitbook-d22d090b0508099e61e25ab52cbd29a0d49a19c1.tar.gz gitbook-d22d090b0508099e61e25ab52cbd29a0d49a19c1.tar.bz2 |
Add style for search input in default theme
Diffstat (limited to 'packages/gitbook-core/src')
-rw-r--r-- | packages/gitbook-core/src/components/Button.js | 2 | ||||
-rw-r--r-- | packages/gitbook-core/src/components/Icon.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-core/src/components/Button.js b/packages/gitbook-core/src/components/Button.js index 6a8fd6f..1252e8a 100644 --- a/packages/gitbook-core/src/components/Button.js +++ b/packages/gitbook-core/src/components/Button.js @@ -12,7 +12,7 @@ const Button = React.createClass({ render() { const { children, active, onClick } = this.props; - const className = classNames('GitBook/Button', this.props.className, { + const className = classNames('GitBook-Button', this.props.className, { active }); diff --git a/packages/gitbook-core/src/components/Icon.js b/packages/gitbook-core/src/components/Icon.js index fac446a..5f2c751 100644 --- a/packages/gitbook-core/src/components/Icon.js +++ b/packages/gitbook-core/src/components/Icon.js @@ -18,7 +18,7 @@ const Icon = React.createClass({ let { className } = this.props; if (id) { - className = type + ' ' + type + '-' + id; + className = 'GitBook-Icon ' + type + ' ' + type + '-' + id; } return <i className={className}/>; |