1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Avoid wrapping text in hierarchical table columns

This commit is contained in:
Jeremy Stretch
2020-12-30 15:30:31 -05:00
parent d989ce2b70
commit 7873952e7a
4 changed files with 7 additions and 4 deletions

View File

@ -270,7 +270,7 @@ class PrefixTable(BaseTable):
pk = ToggleColumn()
prefix = tables.TemplateColumn(
template_code=PREFIX_LINK,
attrs={'th': {'style': 'padding-left: 17px'}}
attrs={'td': {'class': 'text-nowrap'}}
)
status = ChoiceFieldColumn(
default=AVAILABLE_LABEL