From d5928990733e488c9ebb0e849b6766708b87b2bf Mon Sep 17 00:00:00 2001 From: Herwin Date: Sat, 9 Dec 2023 01:46:34 +0100 Subject: [PATCH] Removed unsafe inline CSS styles on main index Update index.php and image.scss --- index.php | 7 +------ resources/NibblePoker/scss/site/image.scss | 5 +++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.php b/index.php index 334b187..05cea7a 100644 --- a/index.php +++ b/index.php @@ -16,11 +16,6 @@ include_once 'commons/langs.php'; - id).'" class="bland-link">'); echo('
'); - echo('' .
+			echo('<img src=image . '" class="f-left r-l border mr-xs img-showcase" alt="' . $shown_project->title[$user_language] . ' logo">'); echo('

' . $shown_project->title[$user_language] . '

'); echo('

' . preg_replace('/
.*/', '', $current_content->preamble[$user_language]) . '

'); diff --git a/resources/NibblePoker/scss/site/image.scss b/resources/NibblePoker/scss/site/image.scss index 604898e..9807082 100644 --- a/resources/NibblePoker/scss/site/image.scss +++ b/resources/NibblePoker/scss/site/image.scss @@ -10,6 +10,11 @@ height: 1em; } +.img-showcase { + width: 96px; + height: 96px; +} + .img-profile { width: 7.5rem; height: 7.5rem;