run prettier (lint)

Signed-off-by: Sam Therapy <sam@samtherapy.net>
master
Not Sam 1 year ago
parent 176c5699d0
commit 6d24dc7568
Signed by: NotSam
GPG Key ID: 4D8B07C18F31ACBD

@ -22,7 +22,7 @@
});
document.getElementById("submit").addEventListener("click", function () {
document.getElementById("err").innerText = ""
document.getElementById("err").innerText = "";
let value = document.getElementById("link").value;
@ -41,7 +41,7 @@
"res"
).innerHTML = `<a href=${data.ShortURL} target=_blank>Shortened link</a>`;
} else {
return reject(data.Status)
return reject(data.Status);
}
})
.catch((err) => {

@ -3,10 +3,10 @@ body {
overflow: hidden;
}
.container {
display:flex;
justify-content:center;
align-items:center;
height:100vh;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.info-area {
@ -14,7 +14,6 @@ body {
font-size: 1.3em;
font-weight: bolder;
max-width: 50%;
}
.form {
@ -26,14 +25,14 @@ body {
color: #a35e52;
font-size: 1em;
overflow: auto;
justify-content:center;
align-items:center;
height:75vh;
justify-content: center;
align-items: center;
height: 75vh;
}
input[type=submit] {
input[type="submit"] {
width: 100%;
background-color: #47693A;
background-color: #47693a;
color: white;
padding: 14px 20px;
margin: 8px 0;
@ -41,8 +40,8 @@ input[type=submit] {
border-radius: 4px;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #364F2B;
input[type="submit"]:hover {
background-color: #364f2b;
}
a {
@ -50,7 +49,7 @@ a {
text-decoration: none;
}
a:link {
color: #175F8C;
color: #175f8c;
}
/* visited link */
@ -72,4 +71,4 @@ a.active {
font-weight: bolder;
border: blanchedalmond;
border-style: groove;
}
}

Loading…
Cancel
Save