From 6a13b8c3c5fe5706f8eb56cbde3a011c961c4cdb Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Tue, 4 Feb 2020 20:52:52 +0530 Subject: [PATCH] :art: Better drop-down for `method` field --- assets/css/styles.scss | 2 ++ pages/index.vue | 69 +++++++++++++++++++++++++++++++++++------- 2 files changed, 60 insertions(+), 11 deletions(-) diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 382870d31..902ec8af5 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -538,6 +538,7 @@ input[type="radio"], display: none; } +.method, kbd, select, input, @@ -557,6 +558,7 @@ code { transition: all 0.2s ease-in-out; user-select: text; width: calc(100% - 8px); + min-width: 128px; resize: vertical; text-overflow: ellipsis; diff --git a/pages/index.vue b/pages/index.vue index af395bd97..b6f087d48 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -46,12 +46,22 @@ - + + @@ -1559,7 +1605,8 @@ export default { responseBodyType: "text", responseBodyMaxLines: 16, activeSidebar: true, - fb + fb, + customMethod: false }; }, watch: {