smooth things out

This commit is contained in:
prospect
2024-01-19 09:56:07 -05:00
parent b514755482
commit c2cc79ec8d
3 changed files with 13 additions and 1 deletions

View File

@@ -1631,6 +1631,11 @@ select {
--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity));
}
.blur {
--tw-blur: blur(8px);
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;

View File

@@ -161,6 +161,13 @@ class PageTransitions {
}).catch(error => console.error('Error fetching content:', error));
}
submitFormAsync(form) {
// Close the mobile keyboard
const searchInput = document.getElementById('s');
searchInput.blur(); // Unfocus the input field to close the keyboard
// Clear the search form
form.reset(); // Reset the form to clear input values
const formData = new FormData(form);
fetch(form.action, {
method: 'POST',

File diff suppressed because one or more lines are too long