fix: align HTTP method tags to the left (#450)

This commit is contained in:
pandeb
2026-05-06 16:13:22 +02:00
committed by GitHub
parent c901ad4cbd
commit 4c15a49f8f

View File

@@ -57,7 +57,7 @@ export function HttpMethodTagRaw({
let label = method.toUpperCase();
if (short) {
label = methodNames[method.toLowerCase()] ?? method.slice(0, 4);
label = label.padStart(4, " ");
label = label.padEnd(4, " ");
}
const m = method.toUpperCase();