From c1ebf951bc3b0e1b51fc10b921ca5cbfbfcb6225 Mon Sep 17 00:00:00 2001 From: v8tenko Date: Thu, 29 Feb 2024 15:19:56 +0300 Subject: [PATCH] fix: add flex --- src/includer/ui/endpoint.ts | 2 +- src/runtime/index.scss | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/includer/ui/endpoint.ts b/src/includer/ui/endpoint.ts index 4b48791..19fd4e6 100644 --- a/src/includer/ui/endpoint.ts +++ b/src/includer/ui/endpoint.ts @@ -147,7 +147,7 @@ function request(data: Endpoint) { ]); }); - const result = [title(2)(REQUEST_SECTION_NAME), requests]; + const result = [title(2)(REQUEST_SECTION_NAME), '
', ...requests, '
']; return block(result); } diff --git a/src/runtime/index.scss b/src/runtime/index.scss index f5ed4a2..07f492f 100644 --- a/src/runtime/index.scss +++ b/src/runtime/index.scss @@ -28,6 +28,12 @@ margin-bottom: 0; } + & &__requests { + display: flex; + flex-direction: column; + align-items: flex-start; + } + & &__request { display: inline-flex; align-items: center;