fix binislop
This commit is contained in:
parent
f3b9cfd2f0
commit
2830d12bda
4 changed files with 34 additions and 3 deletions
|
|
@ -22,3 +22,4 @@ album:509761344
|
|||
album:15621057
|
||||
album:103897783
|
||||
album:151728406
|
||||
album:199412873
|
||||
2
js/ui.js
2
js/ui.js
|
|
@ -546,7 +546,7 @@ export class UIRenderer {
|
|||
) {
|
||||
let size = '320';
|
||||
if (this.currentPage === 'search' || className === 'track-item-cover') {
|
||||
size = '80';
|
||||
size = type === 'album' ? '1280' : '80';
|
||||
} else if (type === 'artist') {
|
||||
size = '160';
|
||||
}
|
||||
|
|
|
|||
27
lhci.yml
Normal file
27
lhci.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
target: static
|
||||
assert:
|
||||
assertions:
|
||||
# Performance
|
||||
- first-contentful-paint:warn < 3000
|
||||
- interactive:warn < 7000
|
||||
- lcp-lazy-loaded:off
|
||||
- speed-index:warn < 5000
|
||||
|
||||
# Accessibility (warn if below 85)
|
||||
- accessibility:warn < 85
|
||||
|
||||
# Best Practices
|
||||
- best-practices:warn < 85
|
||||
|
||||
# SEO
|
||||
- seo:warn < 85
|
||||
|
||||
upload:
|
||||
target: temporary-public-storage
|
||||
|
||||
collect:
|
||||
numberOfRuns: 3
|
||||
settings:
|
||||
preset: desktop
|
||||
# Headless Chrome for CI
|
||||
chromeFlags: '--no-sandbox --disable-gpu'
|
||||
|
|
@ -17,7 +17,9 @@
|
|||
"lint:css": "stylelint \"**/*.css\"",
|
||||
"lint:html": "htmlhint \"**/*.html\" --ignore=\"dist/**,legacy/**,node_modules/**\"",
|
||||
"lint": "bun run lint:js && bun run lint:css && bun run lint:html",
|
||||
"format": "prettier --write ."
|
||||
"format": "prettier --write .",
|
||||
"lhci": "lhci",
|
||||
"lhci:autorun": "npm run build && lhci autorun"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
@ -33,6 +35,7 @@
|
|||
"devDependencies": {
|
||||
"@capacitor/assets": "^3.0.5",
|
||||
"@capacitor/cli": "^8.2.0",
|
||||
"@lhci/cli": "^0.14.0",
|
||||
"@testing-library/dom": "^10.4.1",
|
||||
"@types/node": "^25.3.5",
|
||||
"@vitest/browser-playwright": "^4.1.2",
|
||||
|
|
|
|||
Loading…
Reference in a new issue