diff --git a/src/components/sidebar-elements/styles.ts b/src/components/sidebar-elements/styles.ts index 52c6d2725..81d6fbd81 100644 --- a/src/components/sidebar-elements/styles.ts +++ b/src/components/sidebar-elements/styles.ts @@ -1,6 +1,7 @@ import { SxStyleProp } from '@vtex/brand-ui' const elementContainer: SxStyleProp = { + maxWidth: '265px', background: '#FFFFFF', ':hover': { background: '#F8F7FC', diff --git a/src/pages/updates/release-notes/[slug].tsx b/src/pages/updates/release-notes/[slug].tsx index 709207601..e55e89dd3 100644 --- a/src/pages/updates/release-notes/[slug].tsx +++ b/src/pages/updates/release-notes/[slug].tsx @@ -40,6 +40,7 @@ interface Props { content: string serialized: MDXRemoteSerializeResult sidebarfallback: any //eslint-disable-line + sectionSelected: string } const DocumentationPage: NextPage = ({ serialized }) => { @@ -166,9 +167,11 @@ export const getStaticProps: GetStaticProps = async ({ params }) => { const sidebarfallback = await getNavigation() serialized = JSON.parse(JSON.stringify(serialized)) + const sectionSelected = 'Release Notes' return { props: { + sectionSelected, serialized, sidebarfallback, },