From 1826afdfb03a01c0a6c8d258fa1aa8992c7f16c2 Mon Sep 17 00:00:00 2001 From: "Zane J. Chua" Date: Fri, 25 Jan 2019 22:45:31 +0800 Subject: [PATCH] Fix pulling releases from GitHub, minor styling fix for community page --- app/Library/Unicorn.php | 2 +- resources/assets/sass/style.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Library/Unicorn.php b/app/Library/Unicorn.php index effd8b90..ed62abb2 100644 --- a/app/Library/Unicorn.php +++ b/app/Library/Unicorn.php @@ -55,7 +55,7 @@ public static function getGithubReleases($filter = true) $Parsedown->setSafeMode(true); foreach ($releases as $release) { - if (is_null($unstable) && is_null($stable)) { + if (is_null($unstable) || is_null($stable)) { if (is_null($unstable) && $release->prerelease) { $release->commit_data = self::getGithubCommitDataByTag($release->tag_name); $release->body_html = $Parsedown->text($release->body); diff --git a/resources/assets/sass/style.scss b/resources/assets/sass/style.scss index 2e00a0df..1da1a2b3 100644 --- a/resources/assets/sass/style.scss +++ b/resources/assets/sass/style.scss @@ -926,6 +926,10 @@ textarea.valid + label::after { margin-top: 15px; } +.tooltip-content p { + color: $white-color; +} + .tooltip-content ul { text-align: left; padding: 5px 5px 5px 20px;