Skip to content

Commit d06223b

Browse files
committed
解决请求输入框在windows浏览器上显示两列滚动条
1 parent cd5f6d6 commit d06223b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

css/main.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ a:active svg, a:hover svg{
173173
.left-panel {
174174
height: 100%;
175175
width: 100%;
176-
overflow: hidden;
177-
overflow-y: scroll;
178-
word-break: break-all;
179176
}
180177

181178

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@
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%;height: 100%">
74+
<ul v-show="isRemoteShow" class="historys" style="width: 100%;height: 100%;overflow: hidden;overflow-y: scroll;">
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>
7878
</svg>
7979
<a href="javascript:void(0)" @click="restore(item)" > {{(item.version > 0 ? 'V' + item.version : 'V*') + ' ' + item.name + ' ' + item.url}}</a>
8080
</li>
8181
</ul>
82-
<textarea v-show="! isRemoteShow" style="width: 100%;height: 100%" id="vInput" @keyup="onChange(true)">
82+
<textarea v-show="! isRemoteShow" style="width: 100%;height: 100%;" id="vInput" @keyup="onChange(true)">
8383
{
8484
"[]":{
8585
"User":{

0 commit comments

Comments
 (0)