Skip to content

Commit

Permalink
fix: form button align center
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Nov 3, 2024
1 parent c40d932 commit 589c6e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/renderer/src/modules/discover/list-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ const ListInnerForm = ({
<FormDescription className="mt-0.5">{t("feed_form.fee_description")}</FormDescription>
</div>
)}
<div className="flex flex-1 items-end justify-end gap-4">
<div className="flex flex-1 items-center justify-end gap-4">
{isSubscribed && (
<Button
type="button"
Expand Down
4 changes: 2 additions & 2 deletions apps/renderer/src/modules/feed/feed-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ export function FeedIcon({
const colorfulStyle: React.CSSProperties = useMemo(() => {
const [, , , bgAccent, bgAccentLight, bgAccentUltraLight] = colors
return {
// Create a bottom-left to top-right avatar fallback background gradient
backgroundImage: `linear-gradient(to top right, ${bgAccent} 20%, ${bgAccentLight} 80%, ${bgAccentUltraLight} 95%)`,
backgroundImage: `linear-gradient(to top, ${bgAccent} 0%, ${bgAccentLight} 99%, ${bgAccentUltraLight} 100%)`,

...sizeStyle,
}
}, [colors, sizeStyle])
Expand Down

0 comments on commit 589c6e4

Please sign in to comment.