Skip to content

Commit

Permalink
fix: loading style in trending on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Dec 25, 2024
1 parent 6487be1 commit 98beb0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/renderer/src/modules/trending/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const TrendContent: FC<TrendingProps> = ({ language }) => {
const { dismiss } = useCurrentModal()
if (!data)
return (
<div className="center absolute inset-0">
<div className={isMobile ? "mx-auto" : "center absolute inset-0"}>
<LoadingWithIcon
icon={<i className="i-mingcute-trending-up-line text-3xl" />}
size="large"
Expand Down

0 comments on commit 98beb0a

Please sign in to comment.