reformat code
This commit is contained in:
parent
ff9d70e89a
commit
b682a74e5b
@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
function handleBlur(event: Event) {
|
function handleBlur(event: Event) {
|
||||||
const element = event.target;
|
const element = event.target;
|
||||||
|
|
||||||
if (element instanceof HTMLInputElement) {
|
if (element instanceof HTMLInputElement) {
|
||||||
if (element.value === '') {
|
if (element.value === '') {
|
||||||
element.value = '0';
|
element.value = '0';
|
||||||
@ -134,7 +134,7 @@
|
|||||||
input {
|
input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0.25em 0 0.625em;
|
margin: 0.25em 0 0.625em;
|
||||||
border: 2px solid gray;
|
border: 2px solid grey;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,15 +1,15 @@
|
|||||||
<script>
|
<script>
|
||||||
import 'ress/dist/ress.min.css';
|
import 'ress/dist/ress.min.css';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<slot />
|
<slot/>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--invalid-color: red;
|
--invalid-color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(body) {
|
:global(body) {
|
||||||
padding: 0 0.5em;
|
padding: 0 0.5em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user