From bdf7a261e209a4d6ea8cf506f11ad8495aa37052 Mon Sep 17 00:00:00 2001 From: Robin de Graaf Date: Fri, 8 Oct 2021 12:18:26 +0000 Subject: [PATCH] Update welcome.phtml to animate properly --- CHANGELOG.md | 7 +++++++ src/Application.php | 2 +- structure/welcome.phtml_template | 5 +++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d2feb0..deecb3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Parable PHP Framework +## 2.0.5 + +Best update ever! + +_Changes_ +- Fix animation on welcome.phtml, it shouldn't have been animating `html {}`, made it all janky-looking 😂 + ## 2.0.4 _Changes_ diff --git a/src/Application.php b/src/Application.php index 47548b8..5b0e051 100644 --- a/src/Application.php +++ b/src/Application.php @@ -19,7 +19,7 @@ class Application { use BootableTrait; - public const VERSION = '2.0.3'; + public const VERSION = '2.0.5'; public const PLUGIN_BEFORE_BOOT = 'plugin_before_boot'; public const PLUGIN_AFTER_BOOT = 'plugin_after_boot'; diff --git a/structure/welcome.phtml_template b/structure/welcome.phtml_template index 501544b..7b24227 100644 --- a/structure/welcome.phtml_template +++ b/structure/welcome.phtml_template @@ -11,8 +11,6 @@ font-weight: 100; font-size: 17px; color: #fff; - - animation: 1s fade-in forwards; } @keyframes fade-in { from {opacity: 0;} @@ -21,6 +19,9 @@ html, body { margin: 0; } + body { + animation: 1s fade-in forwards; + } h2 { font-weight: bold; font-size: 1.2rem;