From 13a90d15400ba38dceb08617d9c43d944475497e Mon Sep 17 00:00:00 2001 From: wll8 Date: Mon, 19 Jun 2023 14:06:14 +0800 Subject: [PATCH] fix: The last api shows an exception for the first time #26 This is due to insufficient scroll distance. --- try.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/try.js b/try.js index 3f447f5..dfc22c6 100644 --- a/try.js +++ b/try.js @@ -158,7 +158,10 @@ function initCss() { .swaggerBox:not(.onlySwagger) .opblock-body > .opblock-description-wrapper { display: none; } - + .swaggerBox:not(.onlySwagger) .block div>span:last-child .operation-tag-content>span:last-child { + display: block; + margin-bottom: 100vh; + } .swaggerBox .tryBtn { margin-right: 10px; background-color: #fff;