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
+1 -1
View File
@@ -57,7 +57,7 @@ export function HttpMethodTagRaw({
let label = method.toUpperCase(); let label = method.toUpperCase();
if (short) { if (short) {
label = methodNames[method.toLowerCase()] ?? method.slice(0, 4); label = methodNames[method.toLowerCase()] ?? method.slice(0, 4);
label = label.padStart(4, " "); label = label.padEnd(4, " ");
} }
const m = method.toUpperCase(); const m = method.toUpperCase();