Skip to content

Commit

Permalink
Fix for label display bug, closes #14
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 23, 2023
1 parent 7e5ff85 commit fadffe3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions datasette_configure_fts/templates/configure_fts_database.html
Expand Up @@ -3,7 +3,11 @@
{% block title %}Configure full-text search for {{ database.name }}.db{% endblock %}

{% block extra_head %}

<style>
form.configure-fts label {
width: auto;
}
</style>
{% endblock %}

{% block content %}
Expand All @@ -16,7 +20,7 @@ <h2>{{ table.name }}</h2>
{% else %}
<p>Configured for search across {{ ", ".join(table.searchable_columns) }}</p>
{% endif %}
<form action="/-/configure-fts/{{ database.name|quote_plus }}" method="POST">
<form class="configure-fts" action="/-/configure-fts/{{ database.name|quote_plus }}" method="POST">
{% for column in table.columns %}
<p><label><input
type="checkbox"
Expand Down

0 comments on commit fadffe3

Please sign in to comment.