Skip to content

Commit

Permalink
fix: discover form overflow scrollbar
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jul 31, 2024
1 parent bc3ecde commit 1145e92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/renderer/src/modules/discover/content-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ export const DiscoverFeedForm = ({
useEffect(() => {
modal?.setClickOutSideToDismiss?.(!form.formState.isDirty)
}, [form.formState.isDirty, modal?.setClickOutSideToDismiss])

return (
<Form {...form}>
{!noDescription && (
Expand Down Expand Up @@ -260,7 +261,7 @@ export const DiscoverFeedForm = ({
<FeedMaintainers maintainers={route.maintainers} />
</>
)}
<div className={cn("sticky bottom-0 -mt-4 flex w-full translate-y-3 justify-end py-3", submitButtonClassName)}>
<div className={cn("sticky bottom-0 -mt-4 mb-1 flex w-full translate-y-3 justify-end py-3", submitButtonClassName)}>
<StyledButton type="submit">Preview</StyledButton>
</div>
</form>
Expand Down

0 comments on commit 1145e92

Please sign in to comment.