docs: improve tailwind configuration (#5215)
This commit is contained in:
@@ -27,8 +27,7 @@ export const DetailsSummary = ({
|
||||
className={clsx(
|
||||
"py-docs_0.75 flex items-center justify-between",
|
||||
expandable && "cursor-pointer",
|
||||
!expandable &&
|
||||
"border-medusa-border-base dark:border-medusa-border-base-dark border-y",
|
||||
!expandable && "border-medusa-border-base border-y",
|
||||
"no-marker",
|
||||
className
|
||||
)}
|
||||
@@ -37,14 +36,14 @@ export const DetailsSummary = ({
|
||||
<span className="gap-docs_0.25 flex flex-col">
|
||||
<span
|
||||
className={clsx(
|
||||
"text-compact-medium-plus text-medusa-fg-base dark:text-medusa-fg-base-dark",
|
||||
"text-compact-medium-plus text-medusa-fg-base",
|
||||
titleClassName
|
||||
)}
|
||||
>
|
||||
{title}
|
||||
</span>
|
||||
{subtitle && (
|
||||
<span className="text-compact-medium text-medusa-fg-subtle dark:text-medusa-fg-subtle-dark">
|
||||
<span className="text-compact-medium text-medusa-fg-subtle">
|
||||
{subtitle}
|
||||
</span>
|
||||
)}
|
||||
|
||||
@@ -48,7 +48,7 @@ export const Details = ({
|
||||
event.stopPropagation()
|
||||
}}
|
||||
className={clsx(
|
||||
"border-medusa-border-base dark:border-medusa-border-base-dark border-y border-solid border-x-0",
|
||||
"border-medusa-border-base border-y border-solid border-x-0",
|
||||
"overflow-hidden [&>summary]:relative [&>summary]:z-[398]",
|
||||
props.className
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user