fix: website iframe overlay — icon button bottom-right, no blur, tooltip

This commit is contained in:
Pontoporeia
2026-07-10 15:18:42 +02:00
parent 3d5d972ad0
commit 3e3d829d11
3 changed files with 17 additions and 32 deletions
+8 -8
View File
@@ -390,14 +390,14 @@
<?php elseif ($isWebsite): ?>
<div class="tfe-website-wrapper">
<span class="tfe-website-badge">Site web</span>
<div class="tfe-website-overlay">
<a href="<?= $mediaUrl ?>"
class="tfe-website-open-btn"
target="_blank"
rel="noopener noreferrer">
Ouvrir le site web
</a>
</div>
<a href="<?= $mediaUrl ?>"
class="tfe-website-open-btn"
target="_blank"
rel="noopener noreferrer"
title="Ouvrir le site web dans un nouvel onglet"
aria-label="Ouvrir le site web">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 256 256"><path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"></path></svg>
</a>
<iframe src="<?= $mediaUrl ?>"
class="tfe-file-iframe"
title="<?= $fileName ?>"