@@ -35,15 +35,13 @@ export default function Library({ library, skipMetadata, showTrendingMark }: Pro
3535 return (
3636 < View
3737 style = { [
38- tw ` mb-4 border rounded-md flex-row overflow-hidden border-palette-gray2 dark:border-default` ,
38+ tw `mb-4 border rounded-md flex-row overflow-hidden border-palette-gray2 dark:border-default` ,
3939 isSmallScreen && tw `flex-col` ,
4040 skipMetadata && tw `w-[48.5%] mx-[0.75%] min-h-[206px]` ,
41- skipMetadata &&
42- ( isSmallScreen || isBelowMaxWidth ) &&
43- tw `max-h-auto w-[98.5%] max-w-[98.5%]` ,
41+ skipMetadata && ( isSmallScreen || isBelowMaxWidth ) && tw `w-[98.5%] max-w-[98.5%]` ,
4442 library . unmaintained && tw `opacity-85` ,
4543 ] } >
46- < View style = { tw `pb-3.5 flex-1 p-4 pl-5` } >
44+ < View style = { [ tw `pb-3.5 flex-1 p-4 pl-5` , isSmallScreen && tw `pt-2.5 pb-3 px-3.5` ] } >
4745 { library . unmaintained && (
4846 < View
4947 style = {
@@ -56,7 +54,7 @@ export default function Library({ library, skipMetadata, showTrendingMark }: Pro
5654 </ View >
5755 ) }
5856 { showTrendingMark && library . popularity && (
59- < View style = { tw `flex-row justify-between items-start gap-6 mb-1` } >
57+ < View style = { tw `flex-row justify-between items-center gap-6 mb-1` } >
6058 < Tooltip sideOffset = { 8 } trigger = { < TrendingMark library = { library } /> } >
6159 Trending Score is based on the last week to last month download rate.
6260 </ Tooltip >
@@ -102,7 +100,7 @@ export default function Library({ library, skipMetadata, showTrendingMark }: Pro
102100 </ View >
103101 ) }
104102 { hasSecondaryMetadata ? (
105- < View style = { [ tw `w-full mt-auto` , isSmallScreen && tw `relative min-h-auto mt-1.5 -mb-1 ` ] } >
103+ < View style = { [ tw `w-full mt-auto` , isSmallScreen && tw `relative min-h-0 mt-0 ` ] } >
106104 < View style = { [ tw `flex-row items-center mt-3 flex-wrap gap-2.5 gap-y-0.5` ] } >
107105 < MetaData library = { library } secondary />
108106 </ View >
0 commit comments