fix clipboard for the panel
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="Permissions-Policy" content="clipboard-write=(self https://sftp.my-mc.link)">
|
||||
<title>My-MC Panel</title>
|
||||
<link rel="stylesheet" href="/css/styles.min.css?p=1">
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||
@ -216,10 +217,11 @@
|
||||
<h2 class="text-xl font-semibold mb-4">SFTP Browser</h2>
|
||||
<!-- Iframe height set explicitly to 650px to ensure visibility and prevent shrinking -->
|
||||
<iframe
|
||||
id="sftpIframe"
|
||||
class="w-full rounded"
|
||||
style="height: 650px; min-height: 650px;"
|
||||
sandbox="allow-same-origin allow-scripts allow-downloads"
|
||||
id="sftpIframe"
|
||||
class="w-full rounded"
|
||||
style="height: 650px; min-height: 650px;"
|
||||
sandbox="allow-same-origin allow-scripts allow-downloads"
|
||||
allow="clipboard-read; clipboard-write"
|
||||
></iframe>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user