diff --git a/website/src/components/sidebar.js b/website/src/components/sidebar.js
index cadb85fe4..29bd122d6 100644
--- a/website/src/components/sidebar.js
+++ b/website/src/components/sidebar.js
@@ -26,10 +26,10 @@ const Sidebar = ({ items, pageMenu, slug }) => {
}, [])
return (
-
- - {section.label}
+ - {section.label}
{section.items.map(({ text, url, onClick, menu, isActive }, j) => {
const currentMenu = menu || pageMenu || []
const active = isActive || slug === url
@@ -43,7 +43,7 @@ const Sidebar = ({ items, pageMenu, slug }) => {
to={url}
onClick={onClick}
className={itemClassNames}
- activeClassName={classes.isActive}
+ activeClassName={classNames('is-active', classes.isActive)}
hideIcon
>
{text}
diff --git a/website/src/components/table.js b/website/src/components/table.js
index 2dd98a353..3c345b046 100644
--- a/website/src/components/table.js
+++ b/website/src/components/table.js
@@ -46,8 +46,10 @@ export const Table = props =>
export const Th = props => |
export const Tr = ({ children, ...props }) => {
+ const foot = isFootRow(children)
const trClasssNames = classNames(classes.tr, {
- [classes.footer]: isFootRow(children),
+ [classes.footer]: foot,
+ 'table-footer': foot,
})
return (