Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise text elements for 'Versions' and 'Inputs' to use text-sm #2860

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions web/components/templates/prompts/id/promptIdPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -781,12 +781,12 @@ const PromptIdPage = (props: PromptIdPageProps) => {
<div className="w-1/3 flex flex-col">
<div className="border-y border-x border-[#E8EAEC] dark:border-slate-700 bg-[#F9FAFB] dark:bg-black">
<div
className="flex flex-row items-center justify-between px-4 h-12 cursor-pointer"
className="flex flex-row items-center justify-between px-4 py-3 cursor-pointer"
onClick={() =>
setIsVersionsExpanded(!isVersionsExpanded)
}
>
<h2 className="text-lg font-medium">Versions</h2>
<h2 className="font-medium text-sm">Versions</h2>
<ChevronDownIcon
className={`h-5 w-5 transition-transform ${
isVersionsExpanded ? "rotate-180" : ""
Expand Down Expand Up @@ -966,7 +966,7 @@ const PromptIdPage = (props: PromptIdPageProps) => {
className="flex flex-row items-center justify-between px-4 h-12 cursor-pointer"
onClick={() => setIsInputsExpanded(!isInputsExpanded)}
>
<h2 className="text-lg font-medium">Inputs</h2>
<h2 className="font-medium text-sm">Inputs</h2>
<div className="flex items-center space-x-2">
{isSearchVisible ? (
<div className="relative w-64">
Expand Down
Loading