docs: design fixes to toc and related elements (#12747)
* docs: design fixes to toc and related elements * change header styling * fix heading styles * design fixes * fix showing badges in toc
This commit is contained in:
@@ -4,7 +4,7 @@ import React, { useState } from "react"
|
||||
import { Menu, MenuProps } from ".."
|
||||
import clsx from "clsx"
|
||||
import { MenuItemSubMenu } from "types"
|
||||
import { ChevronRight } from "@medusajs/icons"
|
||||
import { TriangleRightMini } from "@medusajs/icons"
|
||||
import Link from "next/link"
|
||||
|
||||
type MenuSubMenuProps = Pick<MenuProps, "itemsOnClick"> & {
|
||||
@@ -34,7 +34,7 @@ export const MenuSubMenu = ({ item, itemsOnClick }: MenuSubMenuProps) => {
|
||||
>
|
||||
<span className="text-compact-small">{item.title}</span>
|
||||
<span className="text-medusa-fg-subtle mt-[2.5px] block">
|
||||
<ChevronRight />
|
||||
<TriangleRightMini />
|
||||
</span>
|
||||
</Component>
|
||||
{open && (
|
||||
|
||||
Reference in New Issue
Block a user