mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Handle form without redirect
This commit is contained in:
@@ -7,18 +7,13 @@
|
||||
|
||||
input,
|
||||
textarea,
|
||||
button {
|
||||
button,
|
||||
#submission-status {
|
||||
border: none;
|
||||
border-radius: 0.5625rem;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 1rem 2.8rem;
|
||||
background-color: var(--button-background);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
padding: 1.2rem 1.9rem;
|
||||
@@ -42,6 +37,26 @@ form textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
form div {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
form button, form #submission-status {
|
||||
padding: 1rem 2.8rem;
|
||||
background-color: var(--button-background);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
|
||||
form #submission-status {
|
||||
margin-left: auto;
|
||||
width: auto;
|
||||
display: none;
|
||||
}
|
||||
|
||||
form button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user