Skip to content

Commit 2ce57b4

Browse files
committed
Correct button flashing on page load
1 parent f1c2760 commit 2ce57b4

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

static/css/v3/library-filter.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
gap: var(--space-medium);
2525
}
2626

27+
.library-filter__fields div:has(.btn) {
28+
height: fit-content;
29+
align-self: flex-end;
30+
}
31+
2732
/* ── Field width modifiers ─────────────── */
2833

2934
.library-filter__field {

templates/v3/includes/_library_filter.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757
{% endwith %}
5858
{% endwith %}
5959
{% endfor %}
60-
{% include "v3/includes/_button.html" with label="Filter" icon_position="right" icon_name="arrow-right" icon_size=16 type="submit" js_disabled=True only %}
60+
<noscript>
61+
{% include "v3/includes/_button.html" with label="Filter" icon_position="right" icon_name="arrow-right" icon_size=16 type="submit" js_disabled=True only %}
62+
</noscript>
6163
</div>
6264
</div>
6365
</div>

0 commit comments

Comments
 (0)