fix: pagination margin and opening project pages in new tab (#6079)

* fix:

* adjust web to remove extra bottom margin too
This commit is contained in:
Prospector
2026-05-12 11:33:49 -07:00
committed by GitHub
parent 3bf0f91cf0
commit a192f7857e
2 changed files with 2 additions and 2 deletions

View File

@@ -1065,7 +1065,7 @@ function handleClick(e) {
!target.href.startsWith('http://tauri.localhost') !target.href.startsWith('http://tauri.localhost')
) { ) {
const parsed = parseModrinthLink(target.href) const parsed = parseModrinthLink(target.href)
if (parsed) { if (target.target !== '_blank' && parsed) {
void openModrinthProjectLinkInApp(parsed) void openModrinthProjectLinkInApp(parsed)
} else { } else {
openUrl(target.href) openUrl(target.href)

View File

@@ -304,7 +304,7 @@ const messages = defineMessages({
</template> </template>
</ProjectCardList> </ProjectCardList>
<div :class="ctx.variant === 'web' ? 'pagination-after my-3' : 'flex justify-end'"> <div :class="ctx.variant === 'web' ? 'pagination-after mt-3' : 'flex justify-end mt-3'">
<Pagination <Pagination
:page="ctx.currentPage.value" :page="ctx.currentPage.value"
:count="ctx.pageCount.value" :count="ctx.pageCount.value"