Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions components/Library/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import BookmarkButton from '~/components/BookmarkButton';
import CompatibilityTags from '~/components/CompatibilityTags';
import { GitHub } from '~/components/Icons';
import LibraryDescription from '~/components/Library/LibraryDescription';
import UpdatedAtView from '~/components/Library/UpdateAtView';
import UpdatedAtView from '~/components/Library/UpdatedAtView';
import Tooltip from '~/components/Tooltip';
import { type LibraryType } from '~/types';
import tw from '~/util/tailwind';
Expand Down Expand Up @@ -77,7 +77,11 @@ export default function Library({
</View>
)}
{showTrendingMark && library.popularity && (
<View style={tw`mb-1 flex-row items-center justify-between gap-6 pr-8`}>
<View
style={[
tw`mb-3 flex-row items-center justify-between gap-6`,
!isSmallScreen && skipMetadata && tw`pr-8`,
]}>
<Tooltip sideOffset={8} trigger={<TrendingMark library={library} />}>
Trending Score is based on the last week to last month download rate.
</Tooltip>
Expand Down
2 changes: 1 addition & 1 deletion scenes/PackageOverviewScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { A, Caption, H6Section, Label, useLayout } from '~/common/styleguide';
import ContentContainer from '~/components/ContentContainer';
import MetaData from '~/components/Library/MetaData';
import TrendingMark from '~/components/Library/TrendingMark';
import UpdatedAtView from '~/components/Library/UpdateAtView';
import UpdatedAtView from '~/components/Library/UpdatedAtView';
import CollapsibleSection from '~/components/Package/CollapsibleSection';
import DependenciesSection from '~/components/Package/DependenciesSection';
import DetailsNavigation from '~/components/Package/DetailsNavigation';
Expand Down