From 454ba18c5ec3bbd7efd73d8771cda155041d1749 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Thu, 29 May 2025 12:53:39 +0200 Subject: [PATCH] rr --- index.html | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index d84f58b..e72d2c0 100644 --- a/index.html +++ b/index.html @@ -168,7 +168,7 @@ text-align: ${textAlign}; font-size: ${fontSize}; "> - ${bannerLink ? `${bannerText.replace(/\n/g, '
')}
` : bannerText.replace(/\n/g, '
')} + ${bannerText.replace(/\n/g, '
')} `; @@ -190,7 +190,7 @@ font-size: ${fontSize}; display: block; "> - ${bannerLink ? `${bannerText.replace(/\n/g, '
')}
` : bannerText.replace(/\n/g, '
')} + ${bannerText.replace(/\n/g, '
')} `; } @@ -215,10 +215,8 @@ font-size: ${fontSize}; `; - // Wrap text in link if URL is provided - const textElement = bannerLink - ? `${bannerText}` - : bannerText; + // Just use the text, link will be applied to the whole banner + const textElement = bannerText; content += `