Skip to content

Commit ee9be17

Browse files
committed
解决测试用例不能上下滑动;解决粘贴过长的request导致url这栏上移
1 parent a398399 commit ee9be17

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

css/main.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,16 +155,15 @@ a:active svg, a:hover svg{
155155
width: 40%;
156156
overflow: hidden;
157157
box-shadow: 1px 1px 1px rgba(245, 244, 244, 0.52);
158-
158+
padding-top: 40px;
159159
}
160160

161161
.left-bar {
162162
height: 40px;
163163
border-bottom: #DDD 1px solid;
164164
width: 100%;
165-
position: relative;
165+
position: absolute;
166166
top: 0px;
167-
display: inline;
168167
display: flex;
169168
align-items: center;
170169
z-index: 100;
@@ -174,7 +173,10 @@ a:active svg, a:hover svg{
174173

175174
.left-panel {
176175
height: 100%;
177-
position: relative
176+
width: 100%;
177+
overflow: hidden;
178+
overflow-y: scroll;
179+
word-break: break-all;
178180
}
179181

180182

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<button class="send" id="vSend" @click="send()">发送请求</button>
7272
</div>
7373
<div class="left-panel">
74-
<ul v-show="isRemoteShow" class="historys" style="width: 100%">
74+
<ul v-show="isRemoteShow" class="historys" style="width: 100%;height: 100%">
7575
<li v-for="(item, index) in remotes" >
7676
<svg v-show="item.userId == User.id" class="icon" @click="remove(item, index, true)">
7777
<use xlink:href="svg/icon.svg#trash"></use>

0 commit comments

Comments
 (0)