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')
) {
const parsed = parseModrinthLink(target.href)
if (parsed) {
if (target.target !== '_blank' && parsed) {
void openModrinthProjectLinkInApp(parsed)
} else {
openUrl(target.href)