Skip to content

Commit

Permalink
feat: recommendation box fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jun-brro committed May 22, 2024
1 parent 5a0f98a commit 9daafaa
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Pages/ResultPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const ResultPage: React.FC = () => {
style={{ height: "2rem" }}
>
<img
src="YouTube_Logo_2017.svg"
src="YouTube_full-color_icon_(2017).svg"
alt="YouTube"
className="w-6 h-6"
/>
Expand All @@ -257,8 +257,8 @@ const ResultPage: React.FC = () => {
)}
</div>
<div
className="mt-4 bg-gray-800 bg-opacity-80 text-white text-base font-normal px-6 py-4 rounded-lg relative overflow-y-auto max-h-96"
style={{ fontFamily: "Inter" }}
className="mt-4 bg-gray-800 bg-opacity-80 text-white text-base font-normal px-6 py-4 rounded-lg relative overflow-y-auto"
style={{ fontFamily: "Inter", maxHeight: "200px" }}
>
<ReactMarkdown className="whitespace-pre-line">
{recommendation}
Expand All @@ -269,7 +269,8 @@ const ResultPage: React.FC = () => {
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
className="absolute inset-0 bg-white text-black text-base font-normal px-6 py-4 rounded-lg shadow-lg flex flex-col overflow-y-auto max-h-96"
className="absolute inset-0 bg-white text-black text-base font-normal px-6 py-4 rounded-lg shadow-lg flex flex-col overflow-y-auto"
style={{ maxHeight: "200px" }}
>
<div className="flex justify-between items-start">
<ReactMarkdown className="whitespace-pre-line">
Expand Down

0 comments on commit 9daafaa

Please sign in to comment.