Skip to content

Commit

Permalink
fix: add flex
Browse files Browse the repository at this point in the history
  • Loading branch information
v8tenko committed Feb 29, 2024
1 parent 8d5d296 commit c1ebf95
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/includer/ui/endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function request(data: Endpoint) {
]);
});

const result = [title(2)(REQUEST_SECTION_NAME), requests];
const result = [title(2)(REQUEST_SECTION_NAME), '<div class="openapi__requests">', ...requests, '</div>'];

return block(result);
}

Check failure on line 153 in src/includer/ui/endpoint.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Replace `title(2)(REQUEST_SECTION_NAME),·'<div·class="openapi__requests">',·...requests,·'</div>'` with `⏎········title(2)(REQUEST_SECTION_NAME),⏎········'<div·class="openapi__requests">',⏎········...requests,⏎········'</div>',⏎····`
Expand Down
6 changes: 6 additions & 0 deletions src/runtime/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
margin-bottom: 0;
}

& &__requests {
display: flex;
flex-direction: column;
align-items: flex-start;
}

& &__request {
display: inline-flex;
align-items: center;
Expand Down

0 comments on commit c1ebf95

Please sign in to comment.