Refactor icon rendering; update render_icon macro to accept extra_class parameter and adjust button icons in combobox for better state management
This commit is contained in:
parent
30d3cd7c45
commit
d3a9b6dbd5
6 changed files with 13 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
|
||||
{% macro render_icon(icon, size=24) %}
|
||||
<i class="bi bi-{{ icon }}" style="font-size: {{ size }}px;"></i>
|
||||
{% macro render_icon(icon, size=24, extra_class='') %}
|
||||
<i class="bi bi-{{ icon }} {{ extra_class }}" style="font-size: {{ size }}px;"></i>
|
||||
{% endmacro %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue