diff options
-rw-r--r-- | fietsboek/static/theme.css | 5 | ||||
-rw-r--r-- | fietsboek/templates/browse.jinja2 | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/fietsboek/static/theme.css b/fietsboek/static/theme.css index 3f7f74d..5ce61c6 100644 --- a/fietsboek/static/theme.css +++ b/fietsboek/static/theme.css @@ -114,6 +114,11 @@ strong { padding-left: 1em; } +/* Ensure a consistent width of the cells in the browse view. */ +.browse-summary th, .browse-summary td { + width: 25%; +} + .list-group.list-group-root { padding: 0; overflow: hidden; diff --git a/fietsboek/templates/browse.jinja2 b/fietsboek/templates/browse.jinja2 index ebee881..6f3e0eb 100644 --- a/fietsboek/templates/browse.jinja2 +++ b/fietsboek/templates/browse.jinja2 @@ -126,7 +126,7 @@ </span> </h5> <div class="card-body"> - <table class="table table-hover table-sm"> + <table class="table table-hover table-sm browse-summary"> <tbody> <tr> <th scope="row">{{ _("page.details.date") }}</th> |