Skip to content

Commit b9061bc

Browse files
authored
fix bookmark button on Popular page, Next bump (#2161)
1 parent c0f5096 commit b9061bc

File tree

3 files changed

+28
-22
lines changed

3 files changed

+28
-22
lines changed

bun.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/Library/index.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,15 @@ export default function Library({
5555
]}>
5656
<BookmarkButton
5757
bookmarkId={bookmarkId}
58-
style={tw`absolute right-2 top-2 z-10 rounded border border-palette-gray2 p-1.5 dark:border-palette-gray6`}
58+
style={tw`absolute right-2.5 top-2.5 z-10 rounded border border-palette-gray2 p-1.5 dark:border-palette-gray6`}
5959
/>
60-
<View style={[tw`flex-1 p-4 pb-3.5 pl-5`, isSmallScreen && tw`px-3.5 pb-3 pt-2.5`]}>
60+
<View
61+
style={[
62+
tw`flex-1 p-4 pb-3 pl-5`,
63+
showTrendingMark && tw`pt-3.5`,
64+
isSmallScreen && tw`px-3.5 pt-2.5`,
65+
showTrendingMark && isSmallScreen && tw`pb-2 pl-3.5 pr-4 pt-3.5`,
66+
]}>
6167
{library.unmaintained && (
6268
<View
6369
style={
@@ -70,7 +76,7 @@ export default function Library({
7076
</View>
7177
)}
7278
{showTrendingMark && library.popularity && (
73-
<View style={tw`mb-1 flex-row items-center justify-between gap-6`}>
79+
<View style={tw`mb-1 flex-row items-center justify-between gap-6 pr-8`}>
7480
<Tooltip sideOffset={8} trigger={<TrendingMark library={library} />}>
7581
Trending Score is based on the last week to last month download rate.
7682
</Tooltip>

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"es-toolkit": "^1.44.0",
3535
"expo": "54.0.32",
3636
"expo-font": "^14.0.11",
37-
"next": "^16.1.5",
37+
"next": "^16.1.6",
3838
"node-emoji": "^2.2.0",
3939
"postcss": "^8.5.6",
4040
"react": "19.2.4",
@@ -57,9 +57,9 @@
5757
},
5858
"devDependencies": {
5959
"@expo/next-adapter": "^6.0.0",
60-
"@next/bundle-analyzer": "^16.1.5",
60+
"@next/bundle-analyzer": "^16.1.6",
6161
"@prettier/plugin-oxc": "^0.1.3",
62-
"@types/bun": "^1.3.6",
62+
"@types/bun": "^1.3.7",
6363
"@types/crypto-js": "^4.2.2",
6464
"@types/react": "^19.2.10",
6565
"@vercel/blob": "^0.27.3",

0 commit comments

Comments
 (0)