From 182a4536a3ec9506983a488ab87d4233250fd13d Mon Sep 17 00:00:00 2001 From: Connor Nelson Date: Tue, 23 Jan 2024 17:01:46 -0700 Subject: [PATCH] CSS: Increase size of icons --- dojo_theme/static/css/custom.css | 3 ++- dojo_theme/templates/macros/widgets.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dojo_theme/static/css/custom.css b/dojo_theme/static/css/custom.css index 2b2fe8331..69dc19fef 100644 --- a/dojo_theme/static/css/custom.css +++ b/dojo_theme/static/css/custom.css @@ -186,7 +186,8 @@ h4 { } .card-icon { - width: 35%; + width: 50%; + font-size: 48px; position: absolute; top: 50%; left: 50%; diff --git a/dojo_theme/templates/macros/widgets.html b/dojo_theme/templates/macros/widgets.html index cc0436c3f..c15b04a79 100644 --- a/dojo_theme/templates/macros/widgets.html +++ b/dojo_theme/templates/macros/widgets.html @@ -23,8 +23,8 @@ {% if title %}

{{ title }}

{% endif %} {% if text %}

{{ text }}

{% endif %}
- {% if icon %}{% endif %} - {% if emoji %}{{ emoji }}{% endif %} + {% if icon %}{% endif %} + {% if emoji %}{{ emoji }}{% endif %}
{% if custom %}{{ caller() }}{% endif %}