Skip to content

Commit

Permalink
fix:Remove the method in the title
Browse files Browse the repository at this point in the history
  • Loading branch information
yini-chen committed Apr 22, 2024
1 parent 41ba244 commit 6714588
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions media/src/components/APIPage/API.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ export const API: React.FC<APIProps> = (props) => {
<div className="flex h-[calc(100vh_-_140px)] bg-white">
<div className={`expand-arrow ${isExpand ? "" : "!left-1"}`} onClick={() => setIsExpand(!isExpand)}>
{isExpand ? (
<div className="codicon codicon-chevron-left relative top-6 right-0.5"></div>
<div className="codicon codicon-chevron-left relative right-0.5 top-6"></div>
) : (
<div className="codicon codicon-chevron-right relative top-6 right-0.5"></div>
<div className="codicon codicon-chevron-right relative right-0.5 top-6"></div>
)}
</div>
{isExpand && <div className="w-[25rem]">{isExpand && <APIDebugger></APIDebugger>}</div>}
Expand Down Expand Up @@ -246,11 +246,11 @@ export const API: React.FC<APIProps> = (props) => {
<div className="flex justify-between">
<div>
<div className="flex">
{selectedApi.method ? (
{/* {selectedApi.method ? (
<div className="h-6 w-16 rounded-sm border-2 border-solid border-emerald-100 bg-emerald-100 text-center text-base font-medium leading-5 text-teal-500 ">
{selectedApi.method?.toUpperCase()}
</div>
) : null}
) : null} */}
{selectedApi.deprecated ? (
<Tag className="my-auto ml-2">
<span className="text-gray-500">deprecated</span>
Expand Down

0 comments on commit 6714588

Please sign in to comment.