docs: fix styles and add algolia search classes (#12267)

* fix styles and add angolia search classes

* add class

* fix black
This commit is contained in:
Phillip Kelley-Dotson
2021-01-11 14:13:51 -08:00
committed by GitHub
parent 376723a1f5
commit 321444bfd5
5 changed files with 48 additions and 15 deletions

View File

@@ -50,6 +50,9 @@ const headerStyle = css`
.menu-sm {
display: none;
}
.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected {
border-bottom: 2px solid #20A7C9;
}
${[mq[menuResponsiveIndex]]} {
.menu-sm {
display: block;
@@ -67,6 +70,7 @@ const logoStyle = css`
interface menuProps {
mode: string;
toggleDrawer: () => null;
}
const MenuItems = ({ mode, toggleDrawer }: menuProps) => {