Skip to content

Commit

Permalink
Merge pull request #105 from basxsoftwareassociation/feature/use_div_…
Browse files Browse the repository at this point in the history
…instead_of_span_in_datatable_headers

fix: weird indent in datatable headers
  • Loading branch information
wipascal authored Dec 6, 2021
2 parents 6c422b8 + 5cbd8ca commit b31807e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bread/layout/components/datatable.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def from_modelfield(
)

def as_header_cell(self, orderingurlparameter="ordering"):
headcontent = hg.SPAN(self.header, _class="bx--table-header-label")
headcontent = hg.DIV(self.header, _class="bx--table-header-label")
if self.sortingname:
headcontent = hg.BUTTON(
headcontent,
Expand Down

0 comments on commit b31807e

Please sign in to comment.