Skip to content

Commit

Permalink
Merge pull request #126 from ShinSeongJin2/examples_bug_fix
Browse files Browse the repository at this point in the history
Preventing clicking on hidden example buttons on AI prompt pages.
  • Loading branch information
vanpelt authored May 20, 2024
2 parents 1c32ec8 + 675da84 commit 1f83438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/AI/Builder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ export default function Builder({ isShared }: { isShared?: boolean }) {
<Examples
className={cn(
'absolute left-[calc(50%)] w-11/12 -translate-x-1/2',
llmHidden && '-bottom-10 opacity-0'
llmHidden && '-bottom-10 opacity-0 pointer-events-none'
)}
style={{
bottom: bigEnough ? '130px' : '230px'
Expand Down

0 comments on commit 1f83438

Please sign in to comment.