fix(board-pagination): hide pagelist in multiboards, right-align style selector

This commit is contained in:
plebeius
2026-02-24 21:18:51 +08:00
parent 1c55a79581
commit 15d8103391
3 changed files with 16 additions and 4 deletions
+6 -1
View File
@@ -261,7 +261,11 @@ const Board = ({ feedCacheKey, viewType, boardIdentifier: boardIdentifierProp, i
accountSubplebbitAddressesLength={accountSubplebbitAddresses?.length || 0}
showLoadingEllipsis={effectiveInfiniteScroll || combinedFeed.length === 0}
/>
<PageFooterDesktop firstRow={<BoardPagination basePath={paginationBasePath} currentPage={currentPage} totalPages={totalPages} footerStyle />} />
<PageFooterDesktop
firstRow={
<BoardPagination basePath={paginationBasePath} currentPage={currentPage} totalPages={totalPages} footerStyle isMultiboard={isForcedInfiniteScroll} />
}
/>
</>
),
}),
@@ -276,6 +280,7 @@ const Board = ({ feedCacheKey, viewType, boardIdentifier: boardIdentifierProp, i
subscriptions?.length,
accountSubplebbitAddresses?.length,
effectiveInfiniteScroll,
isForcedInfiniteScroll,
paginationBasePath,
currentPage,
totalPages,