reformat code

This commit is contained in:
Václav Uruba 2023-09-08 10:47:03 +02:00
parent ff9d70e89a
commit b682a74e5b
Signed by: uruba
GPG Key ID: 9D8E987C4B2E1E9C
2 changed files with 10 additions and 10 deletions

View File

@ -66,7 +66,7 @@
function handleBlur(event: Event) {
const element = event.target;
if (element instanceof HTMLInputElement) {
if (element.value === '') {
element.value = '0';
@ -134,7 +134,7 @@
input {
width: 100%;
margin: 0.25em 0 0.625em;
border: 2px solid gray;
border: 2px solid grey;
border-radius: 3px;
}

View File

@ -1,15 +1,15 @@
<script>
import 'ress/dist/ress.min.css';
import 'ress/dist/ress.min.css';
</script>
<slot />
<slot/>
<style>
:root {
--invalid-color: red;
}
:root {
--invalid-color: red;
}
:global(body) {
padding: 0 0.5em;
}
:global(body) {
padding: 0 0.5em;
}
</style>