WebUI: Make rename file dialog resizable

PR #18154.
This commit is contained in:
Torsten Schwarz 2022-12-10 08:17:21 +01:00 committed by GitHub
parent ac3ad17a9e
commit 2109c4e1ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -85,7 +85,7 @@
<body>
<div style="padding: 10px 10px 0px 10px;">
<p style="font-weight: bold;">QBT_TR(New name:)QBT_TR[CONTEXT=TorrentContentTreeView]</p>
<input type="text" id="rename" style="width: 220px;" />
<input type="text" id="rename" style="width: 99%;" />
<div style="text-align: center; padding-top: 10px;">
<input type="button" value="QBT_TR(Save)QBT_TR[CONTEXT=HttpServer]" id="renameButton" />
</div>

View file

@ -561,11 +561,11 @@ window.qBittorrent.PropFiles = (function() {
contentURL: 'rename_file.html?hash=' + hash + '&isFolder=' + node.isFolder
+ '&path=' + encodeURIComponent(path),
scrollbars: false,
resizable: false,
resizable: true,
maximizable: false,
paddingVertical: 0,
paddingHorizontal: 0,
width: 250,
width: 400,
height: 100
});
},