Base: Format internal Ladybird pages with prettier

These are currently not checked by CI.
This commit is contained in:
Timothy Flynn
2026-04-22 08:34:03 -04:00
committed by Tim Flynn
parent 6d063e2aa4
commit e1f731a514
Notes: github-actions[bot] 2026-04-22 15:23:15 +00:00
7 changed files with 27 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />

View File

@@ -587,7 +587,9 @@
}
for (const dt of dl.children) {
if (dt.tagName !== "DT") continue;
if (dt.tagName !== "DT") {
continue;
}
const anchor = dt.querySelector(":scope > A");
if (anchor) {
@@ -663,7 +665,9 @@
importFileInput.addEventListener("change", () => {
const file = importFileInput.files[0];
if (!file) return;
if (!file) {
return;
}
const reader = new FileReader();
reader.onload = () => {

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />

View File

@@ -109,8 +109,8 @@
unitDisplay: "narrow",
minimumFractionDigits: 2,
maximumFractionDigits: 2,
}
})
};
});
const cpuFormatter = new Intl.NumberFormat([], {
minimumFractionDigits: 2,
maximumFractionDigits: 2,

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />

View File

@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />