Skip to content

Commit

Permalink
Style fixes on the search page when JavaScript is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
FluxCapacitor2 committed Aug 8, 2024
1 parent 6cc863b commit dbbc86b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/server/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

button,
input[type="submit"] {
height: 100%;
padding-inline: 1rem;
padding-block: 0.5rem;
border: 1px solid lightgray;
Expand Down Expand Up @@ -94,6 +95,11 @@ input[type="submit"] {
background-color: rgba(255, 255, 255, 0.5);
}

/* For users without JavaScript, make sure the loading indicator remains hidden */
.htmx-indicator {
opacity: 0;
}

.inter-regular {
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
Expand Down
4 changes: 3 additions & 1 deletion app/server/templates/index.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
type="checkbox"
name="source"
value="{{ $value.ID }}"
checked="{{ $value.Enabled }}"
{{ if $value.Enabled }}
checked
{{ end }}
/>
{{ $value.ID }}
</label>
Expand Down

0 comments on commit dbbc86b

Please sign in to comment.