styling corpus example components in main view

This commit is contained in:
2020-02-03 06:35:52 +01:00
parent 599338a775
commit 0bc7ea0c4b
4 changed files with 31 additions and 4 deletions

View File

@@ -129,7 +129,7 @@ class View:
example_content.append(h("span.example-cluster", {}, str(cluster + 1)))
example_text_inner_tag = "span.example-text-{}".format(example.get_view_type())
example_content.append(h(example_text_inner_tag, {}, example.text()))
example_content.append(h(example_text_inner_tag, {}, example.view()))
other_attributes = example.get_other_attributes()
if "frequency" in other_attributes: