From f8a5f249ed5375453bd3bea325e2c28ca1a5cfcb Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 11 Dec 2020 15:52:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/definition/components/ApiModule.vue | 7 ++++++- frontend/src/common/css/main.css | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/definition/components/ApiModule.vue b/frontend/src/business/components/api/definition/components/ApiModule.vue index 64a607135c..812732eab1 100644 --- a/frontend/src/business/components/api/definition/components/ApiModule.vue +++ b/frontend/src/business/components/api/definition/components/ApiModule.vue @@ -485,7 +485,7 @@ } .filter-input { - width: 180px; + width: 175px; padding-left: 3px; } @@ -497,4 +497,9 @@ padding-right: 10px; } + .protocol-select >>> .el-input--small { + font-size: 10px; + width: 90px; + } + diff --git a/frontend/src/common/css/main.css b/frontend/src/common/css/main.css index 05b993953f..a5bf4ed31b 100644 --- a/frontend/src/common/css/main.css +++ b/frontend/src/common/css/main.css @@ -119,3 +119,21 @@ html,body { .el-input__inner[maxlength] { padding-right: 60px; } + + +/* 滚动条样式 */ +::-webkit-scrollbar{ + width: 5px; + height: 5px; + position: fixed; +} +::-webkit-scrollbar-thumb{ + border-radius: 1em; + background-color: rgba(50,50,50,.3); + position: fixed; +} +::-webkit-scrollbar-track{ + border-radius: 1em; + background-color: rgba(50,50,50,.1); + position: fixed; +}