From a383155c7e3c825015f88b23d94292da6628cee4 Mon Sep 17 00:00:00 2001 From: kungfuboy <17kungfuboy@gmail.com> Date: Wed, 3 Aug 2022 23:48:59 +0800 Subject: [PATCH] feat: update style --- .../src/app/pages/api/api.component.scss | 7 ++- .../edit/body/api-edit-body.component.html | 59 +++++++++++++------ .../header/api-edit-header.component.html | 9 ++- .../edit/query/api-edit-query.component.html | 2 +- .../test/body/api-test-body.component.html | 56 ++++++++++++------ .../header/api-test-header.component.html | 9 ++- .../test/query/api-test-query.component.html | 2 +- .../params-import.component.scss | 3 +- 8 files changed, 99 insertions(+), 48 deletions(-) diff --git a/src/workbench/browser/src/app/pages/api/api.component.scss b/src/workbench/browser/src/app/pages/api/api.component.scss index 1e5fe1c22..733c0c5a4 100644 --- a/src/workbench/browser/src/app/pages/api/api.component.scss +++ b/src/workbench/browser/src/app/pages/api/api.component.scss @@ -116,9 +116,10 @@ nz-divider { } .param_header { padding: 5px 15px; - >div{ - min-height: 32px; - } + box-sizing: border-box; + // >div{ + // min-height: 32px; + // } .ant-radio-wrapper { font-size: 12px; } diff --git a/src/workbench/browser/src/app/pages/api/edit/body/api-edit-body.component.html b/src/workbench/browser/src/app/pages/api/edit/body/api-edit-body.component.html index 5dd8b21df..cdca3530b 100644 --- a/src/workbench/browser/src/app/pages/api/edit/body/api-edit-body.component.html +++ b/src/workbench/browser/src/app/pages/api/edit/body/api-edit-body.component.html @@ -1,32 +1,55 @@ -
-
+
+
- - -
-
-

JSON Root Type:

- - - + + +
+
+
+

JSON Root Type:

+ + + +
- + - + - + diff --git a/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.html b/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.html index ff903f075..ea0373c06 100644 --- a/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.html +++ b/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.html @@ -1,4 +1,9 @@ -
- +
+
diff --git a/src/workbench/browser/src/app/pages/api/edit/query/api-edit-query.component.html b/src/workbench/browser/src/app/pages/api/edit/query/api-edit-query.component.html index 696a029ee..74dde28e3 100644 --- a/src/workbench/browser/src/app/pages/api/edit/query/api-edit-query.component.html +++ b/src/workbench/browser/src/app/pages/api/edit/query/api-edit-query.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/src/workbench/browser/src/app/pages/api/test/body/api-test-body.component.html b/src/workbench/browser/src/app/pages/api/test/body/api-test-body.component.html index 585767713..6a2adc850 100644 --- a/src/workbench/browser/src/app/pages/api/test/body/api-test-body.component.html +++ b/src/workbench/browser/src/app/pages/api/test/body/api-test-body.component.html @@ -1,18 +1,25 @@ -
-
- - - - - - - - - - -
+
+ + + + + + + + + +
@@ -20,12 +27,23 @@ - +
- +

Tap or drag files directly to this area

diff --git a/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.html b/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.html index ff903f075..ea0373c06 100644 --- a/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.html +++ b/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.html @@ -1,4 +1,9 @@ -
- +
+
diff --git a/src/workbench/browser/src/app/pages/api/test/query/api-test-query.component.html b/src/workbench/browser/src/app/pages/api/test/query/api-test-query.component.html index 1acfaaf1a..7c38f78c1 100644 --- a/src/workbench/browser/src/app/pages/api/test/query/api-test-query.component.html +++ b/src/workbench/browser/src/app/pages/api/test/query/api-test-query.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/src/workbench/browser/src/app/shared/components/params-import/params-import.component.scss b/src/workbench/browser/src/app/shared/components/params-import/params-import.component.scss index ab5562485..5c1a8466b 100644 --- a/src/workbench/browser/src/app/shared/components/params-import/params-import.component.scss +++ b/src/workbench/browser/src/app/shared/components/params-import/params-import.component.scss @@ -1,8 +1,7 @@ .menu { - display: flex; + display: inline-flex; align-items: center; justify-content: center; - width: 80px; cursor: pointer; user-select: none; }