reformat code
This commit is contained in:
parent
ff9d70e89a
commit
b682a74e5b
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user