Adjust icon sizing

This commit is contained in:
Jeremy Stretch 2024-07-12 14:09:50 -04:00
parent 2f2e273776
commit bfd0fa49a2
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ class SubscriptionTable(NetBoxTable):
class NotificationTable(NetBoxTable): class NotificationTable(NetBoxTable):
icon = columns.TemplateColumn( icon = columns.TemplateColumn(
template_code='<span class="text-{{ value.color }}"><i class="{{ value.icon }}"></i></span>', template_code='<span class="text-{{ value.color }} fs-3"><i class="{{ value.icon }}"></i></span>',
accessor=tables.A('event'), accessor=tables.A('event'),
attrs={ attrs={
'td': {'class': 'w-1'}, 'td': {'class': 'w-1'},

View File

@ -3,7 +3,7 @@
{% for notification in notifications %} {% for notification in notifications %}
<div class="list-group-item p-2"> <div class="list-group-item p-2">
<div class="row align-items-center"> <div class="row align-items-center">
<div class="col-auto text-{{ notification.event.color }} pe-0"> <div class="col-auto text-{{ notification.event.color }} fs-2 pe-0">
<i class="{{ notification.event.icon }}"></i> <i class="{{ notification.event.icon }}"></i>
</div> </div>
<div class="col text-truncate"> <div class="col text-truncate">