mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-18 05:28:16 -06:00
Fix width of checkbox column in empty tables
This commit is contained in:
parent
bcf1596184
commit
fb929051f3
@ -161,6 +161,9 @@ class ToggleColumn(tables.CheckBoxColumn):
|
|||||||
visible = kwargs.pop('visible', False)
|
visible = kwargs.pop('visible', False)
|
||||||
if 'attrs' not in kwargs:
|
if 'attrs' not in kwargs:
|
||||||
kwargs['attrs'] = {
|
kwargs['attrs'] = {
|
||||||
|
'th': {
|
||||||
|
'class': 'w-1',
|
||||||
|
},
|
||||||
'td': {
|
'td': {
|
||||||
'class': 'w-1',
|
'class': 'w-1',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user