Skip to content

Commit 42d66ce

Browse files
committed
fix: form content width
1 parent 63602f2 commit 42d66ce

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

apps/renderer/src/modules/discover/feed-form.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ export const FeedForm: Component<{
7676
<div
7777
className={cn(
7878
"flex h-full flex-col",
79-
asWidget ? "mx-auto min-h-[420px] w-full max-w-[550px]" : "px-[18px] pb-[18px] pt-12",
79+
asWidget
80+
? "mx-auto min-h-[420px] w-full max-w-[550px] lg:min-w-[550px]"
81+
: "px-[18px] pb-[18px] pt-12",
8082
)}
8183
>
8284
{!asWidget && (

apps/renderer/src/modules/discover/recommendation-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const RecommendationContent = ({
88
route: RSSHubRoute
99
routePrefix: string
1010
}) => (
11-
<div className="w-full max-w-[700px] sm:min-w-[550px]">
11+
<div className="mx-auto w-full max-w-[700px] sm:min-w-[550px]">
1212
<DiscoverFeedForm route={route} routePrefix={routePrefix} />
1313
</div>
1414
)

0 commit comments

Comments
 (0)