Skip to content

Commit

Permalink
fix: styles in ParametersTable (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jun 21, 2024
1 parent 1ea9d44 commit dd694c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/www/components/docs/ParametersTable.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { cn } from "@/lib/utils";
import type { FC } from "react";

type ParameterDef = {
Expand All @@ -15,9 +16,7 @@ type ParameterProps = {

const Parameter: FC<ParameterProps> = ({ parameter, isLast }) => {
return (
<div
className={`flex flex-col gap-1 px-3 py-3${!isLast ? "border-b" : ""}`}
>
<div className={cn("flex flex-col gap-1 px-3 py-3", !isLast && "border-b")}>
<div className="relative flex gap-2">
<h3 className="font-mono text-sm font-semibold">
{parameter.name}
Expand Down

0 comments on commit dd694c9

Please sign in to comment.