docs: change notes across docs based on redesign (#8662)

Change the prerequisites / soon / other notes based on latest redesign

Depends on #8661
This commit is contained in:
Shahed Nasser
2024-08-23 10:59:48 +03:00
committed by GitHub
parent 320b01f45d
commit b23f0f8188
41 changed files with 291 additions and 220 deletions

View File

@@ -162,7 +162,7 @@ export const Feedback = ({
onClick={handleFeedback}
className={clsx(
"positive gap-[6px] !justify-start md:!justify-center",
"!px-docs_0.5 !py-docs_0.25"
"!px-docs_0.5 !py-docs_0.25 text-left md:text-center"
)}
variant="transparent-clear"
>
@@ -175,7 +175,7 @@ export const Feedback = ({
onClick={handleFeedback}
className={clsx(
"gap-[6px] !justify-start md:!justify-center",
"!px-docs_0.5 !py-docs_0.25"
"!px-docs_0.5 !py-docs_0.25 text-left md:text-center"
)}
variant="transparent-clear"
>
@@ -190,7 +190,8 @@ export const Feedback = ({
className={clsx(
"gap-[6px] relative",
"!px-docs_0.5 !py-docs_0.25",
"!justify-start md:!justify-center"
"!justify-start md:!justify-center",
"text-left md:text-center"
)}
>
<ChatBubbleLeftRight className="text-medusa-fg-subtle" />

View File

@@ -24,7 +24,7 @@ export const PrerequisiteItem = ({
"bg-medusa-tag-neutral-bg text-medusa-fg-subtle",
"px-docs_0.75 py-docs_0.5 w-fit",
"flex justify-center items-center",
"hover:bg-medusa-tag-neutral-bg-hover",
link && "hover:bg-medusa-tag-neutral-bg-hover",
"rounded-tr-docs_xl rounded-br-docs_xl",
position === "alone" && "rounded-docs_xl",
position === "top" && "rounded-tl-docs_xl rounded-bl-docs_DEFAULT",
@@ -34,7 +34,8 @@ export const PrerequisiteItem = ({
!link && "cursor-text"
)}
>
{text}
{text}
{link && "↗"}
</Link>
)
}