mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-17 13:17:01 +02:00
fix: align HTTP method tags to the left (#450)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user