diff --git a/statics/sass/tables.scss b/statics/sass/tables.scss index 709d3e0..8ac23c6 100644 --- a/statics/sass/tables.scss +++ b/statics/sass/tables.scss @@ -1,5 +1,11 @@ @import 'colours'; +.table-responsive { + display: block; + width: 100%; + overflow-x: auto; +} + table { @media (prefers-color-scheme: dark) { color: darken($darkModeHighlightColour, 20%); @@ -7,6 +13,15 @@ table { border-collapse: collapse; + th, td { + white-space: nowrap; + padding-right: 10px; + + &:last-of-type { + padding-right: 0; + } + } + th { text-align: left; } diff --git a/templates/base.html b/templates/base.html index 34eef63..ac8be2e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,7 +2,7 @@
- +{{ commit.body() }}diff --git a/templates/repo/log.html b/templates/repo/log.html index 354bc35..f8e6b51 100644 --- a/templates/repo/log.html +++ b/templates/repo/log.html @@ -5,9 +5,11 @@ {% block log_nav_class %}active{% endblock %} {% block content %} +
{{ tag.message }}{% endblock %} diff --git a/templates/repo/tree.html b/templates/repo/tree.html index 7ca5e15..a17b137 100644 --- a/templates/repo/tree.html +++ b/templates/repo/tree.html @@ -3,6 +3,7 @@ {% block tree_nav_class %}active{% endblock %} {% block content %} +