Skip to content

Commit 589c6e4

Browse files
committed
fix: form button align center
Signed-off-by: Innei <tukon479@gmail.com>
1 parent c40d932 commit 589c6e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ const ListInnerForm = ({
327327
<FormDescription className="mt-0.5">{t("feed_form.fee_description")}</FormDescription>
328328
</div>
329329
)}
330-
<div className="flex flex-1 items-end justify-end gap-4">
330+
<div className="flex flex-1 items-center justify-end gap-4">
331331
{isSubscribed && (
332332
<Button
333333
type="button"

apps/renderer/src/modules/feed/feed-icon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ export function FeedIcon({
122122
const colorfulStyle: React.CSSProperties = useMemo(() => {
123123
const [, , , bgAccent, bgAccentLight, bgAccentUltraLight] = colors
124124
return {
125-
// Create a bottom-left to top-right avatar fallback background gradient
126-
backgroundImage: `linear-gradient(to top right, ${bgAccent} 20%, ${bgAccentLight} 80%, ${bgAccentUltraLight} 95%)`,
125+
backgroundImage: `linear-gradient(to top, ${bgAccent} 0%, ${bgAccentLight} 99%, ${bgAccentUltraLight} 100%)`,
126+
127127
...sizeStyle,
128128
}
129129
}, [colors, sizeStyle])

0 commit comments

Comments
 (0)