✨ feat(assets/app.js): Ajoute du padding vertical au lien "En savoir plus" des cookies.
🔧 chore(ansible/caddy): Met à jour la politique des permissions pour Caddy.
This commit is contained in:
@@ -17,7 +17,7 @@ www.e-cosplay.fr {
|
||||
}
|
||||
header {
|
||||
-X-Robots-Tag
|
||||
Permissions-Policy "accelerometer=(), autoplay=(), camera=(), clipboard-write=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), publickey-credentials-get=(), usb=(), screen-wake-lock=(), xr-spatial-tracking=(), bluetooth=(), gamepad=()"
|
||||
Permissions-Policy "accelerometer=(), autoplay=(), encrypted-media=(), geolocation=(), gyroscope=(), magnetometer=(), midi=(), payment=(), publickey-credentials-get=(), usb=(), screen-wake-lock=(), xr-spatial-tracking=(), bluetooth=(), gamepad=()"
|
||||
Content-Security-Policy "base-uri 'self'; default-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; script-src 'self' 'unsafe-inline' https://www.e-cosplay.fr https://datas.e-cosplay.fr https://app.chatwoot.com https://*.cloudflareinsights.com https://storage.googleapis.com https://*.trustpilot.com; font-src 'self' https://fonts.gstatic.com;connect-src https://*.e-cosplay.fr https://*.cloudflareinsights.com https://fonts.googleapis.com https://widget.trustpilot.com/ https://challenges.cloudflare.com https://app.chatwoot.com; frame-src 'self' https://*.trustpilot.com https://app.chatwoot.com; worker-src 'self' blob:;"
|
||||
}
|
||||
|
||||
|
||||
@@ -369,12 +369,13 @@ function handleCookieBanner() {
|
||||
md:right-8 md:bottom-8`; // Style initial (masqué)
|
||||
|
||||
// Utilisation de M.cookieText, M.cookieLink et M.cookieButton
|
||||
// MODIFICATION APPORTÉE ICI : Ajout de py-2 (padding vertical) au lien "En savoir plus"
|
||||
banner.innerHTML = `
|
||||
<p class="text-sm leading-relaxed">
|
||||
${M.cookieText}
|
||||
</p>
|
||||
<div class="mt-4 flex justify-end items-center">
|
||||
<a href="/cookies" class="text-xs font-medium text-indigo-600 hover:text-indigo-800 transition mr-4">
|
||||
<a href="/cookies" class="py-2 font-medium text-indigo-600 hover:text-indigo-800 transition mr-4">
|
||||
${M.cookieLink}
|
||||
</a>
|
||||
<button id="acceptCookies"
|
||||
|
||||
Reference in New Issue
Block a user