Avoid wrapping text in hierarchical table columns

This commit is contained in:
Jeremy Stretch
2020-12-30 15:30:31 -05:00
parent 5913b0205e
commit 9bdf303ad1
4 changed files with 7 additions and 4 deletions

View File

@@ -19,7 +19,8 @@ class RegionTable(BaseTable):
pk = ToggleColumn()
name = tables.TemplateColumn(
template_code=MPTT_LINK,
orderable=False
orderable=False,
attrs={'td': {'class': 'text-nowrap'}}
)
site_count = tables.Column(
verbose_name='Sites'