From 8eb196df367de5312149d39998f97aa5bc7c6e9a Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 25 Nov 2018 19:06:51 -0700 Subject: [PATCH] Fix note footer link having wrong background and border color --- pages/home.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/home.php b/pages/home.php index 7156420..16e5542 100644 --- a/pages/home.php +++ b/pages/home.php @@ -40,11 +40,14 @@ $colors = [ ]; foreach ($notes as $note) { - echo "#notecard_" . $note->getID() . ", #notecard_" . $note->getID() . " a {\n" + echo "#notecard_" . $note->getID() . ", #notecard_" . $note->getID() . " .card-body a {\n" . " background-color: #" . $note->getColor() . ";\n" . " color: #" . $note->getTextColor() . ";\n" . " border: 1px solid #" . $note->getColor() . ";\n" . "}\n"; + echo "#notecard_" . $note->getID() . " .card-footer a {\n" + . " color: #" . $note->getTextColor() . ";\n" + . "}\n"; } foreach ($colors as $c) {