Skip to content

Commit

Permalink
fix: new highlight dialog ui breaks now fixed (#2087)
Browse files Browse the repository at this point in the history
  • Loading branch information
OgDev-01 committed Nov 9, 2023
1 parent 912b758 commit ece155a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/molecules/HighlightInput/highlight-input-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ const HighlightInputForm = ({ refreshCallback }: HighlightInputFormProps): JSX.E
}}
open={isDivFocused}
>
<DialogContent className="p-4 w-full md:w-[33rem] xs:w-[25rem] max-h-[80vh]">
<DialogContent className="p-4 w-full md:w-[40rem] xs:w-96 max-h-[80vh] overflow-y-scroll">
<DialogHeader>
<DialogTitle>Post a highlight</DialogTitle>
</DialogHeader>
Expand Down Expand Up @@ -628,10 +628,10 @@ const HighlightInputForm = ({ refreshCallback }: HighlightInputFormProps): JSX.E
</div>

{highlightLink && isDivFocused && highlightLink.includes("github") && (
<GhOpenGraphImg className="max-sm:hidden lg:w-[33vw] md:w-[50vw]" githubLink={highlightLink} />
<GhOpenGraphImg githubLink={highlightLink} />
)}
{highlightLink && isDivFocused && highlightLink.includes("dev.to") && (
<DevToSocialImg className="max-sm:hidden lg:w-[33vw] md:w-[50vw]" blogLink={highlightLink} />
<DevToSocialImg blogLink={highlightLink} />
)}

<Button
Expand Down

0 comments on commit ece155a

Please sign in to comment.