From 550a59587a59bac55b66ab6eb30bf687e945a92f Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Wed, 13 Apr 2022 23:47:27 +0200 Subject: [PATCH] Added custom color for custom icon This addition is mega janky. Essentially, if a color code (e.g. white; or #FFFFFF;) is entered before the custom icon, this will change the custom icon's color. Essentially, this just pastes the custom color database entry as a style element on the icon. I will use this until I find a proper solution for this problem. For custom icons: See: https://blog.littlelink-custom.com/upcoming-features/ And: https://blog.littlelink-custom.com/progress-of-the-new-button-editor/ --- resources/views/littlelink.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index f8bf68d..2b2fbea 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -199,9 +199,9 @@ function get_operating_system() {
{{ $link->title }}
@elseif($link->name === "custom" and $link->custom_css === "") -
{{ $link->title }}
+
{{ $link->title }}
@elseif($link->name === "custom" and $link->custom_css != "") -
{{ $link->title }}
+
{{ $link->title }}
@elseif($link->name === "buy me a coffee")
Buy me a Coffee
@elseif($link->name === "custom_website")