mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 16:48:16 -06:00
Adjust icon sizing
This commit is contained in:
parent
2f2e273776
commit
bfd0fa49a2
@ -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'},
|
||||||
|
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user