summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-core')
-rw-r--r--packages/gitbook-core/src/components/Button.js2
-rw-r--r--packages/gitbook-core/src/components/Icon.js2
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}/>;