From 5622dc6b28ae59d121530ba6356dca57a4998c7d Mon Sep 17 00:00:00 2001 From: c0de Date: Fri, 29 Dec 2023 12:16:37 -0600 Subject: [PATCH] fix icon spacing in call to action --- templates/call_to_action.html | 2 +- test.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/call_to_action.html b/templates/call_to_action.html index b32a94f..5604115 100644 --- a/templates/call_to_action.html +++ b/templates/call_to_action.html @@ -23,7 +23,7 @@ {% for button in call_to_action.buttons %} {% if button.icon %} diff --git a/test.py b/test.py index e52acb7..5762152 100644 --- a/test.py +++ b/test.py @@ -53,8 +53,8 @@ template_vars = { "header": "This is a call to action", "lead_text": "Some interesting text for the user", "buttons": [ - {"href": "1"}, - {"href": "2", "theme": "danger"}, + {"text": "something"}, + {"theme": "danger", "text": "something dangerous"}, {"href": "3", "theme": "warning", "icon": "exclamation-diamond-fill"}, { "href": "3",