fix malformed input issue when there is nothing malformed
This commit is contained in:
parent
5e58deb712
commit
e3669e8d42
3 changed files with 14 additions and 12 deletions
|
@ -6,18 +6,20 @@ button {
|
|||
|
||||
body {
|
||||
margin: 0;
|
||||
padding-bottom: 3rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
height: 100vh;
|
||||
|
||||
}
|
||||
|
||||
#form {
|
||||
background: rgba(0, 0, 0, 0.15);
|
||||
padding: 0.25rem;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
box-sizing: border-box;
|
||||
backdrop-filter: blur(10px);
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.inner-form {
|
||||
|
|
|
@ -33,6 +33,4 @@ async function main(e) {
|
|||
|
||||
form.addEventListener('submit', main);
|
||||
|
||||
document.querySelector('.send').addEventListener('click',function() {
|
||||
main({preventDefault: () => {}})
|
||||
})
|
||||
document.querySelector('.send').addEventListener('click',main);
|
Loading…
Add table
Add a link
Reference in a new issue