This commit is contained in:
2021-05-02 03:08:30 +02:00
parent e62cfebecd
commit f291425d06
34 changed files with 1980 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<script lang="ts">
export let label: string = ''
export let value: string
</script>
<label>
<small>
{label}
</small>
<textarea {...$$restProps} bind:value />
</label>
<style>
textarea {
width: 100%;
min-height: 8rem;
margin: 0;
padding: 0;
border: 2px solid var(--ui-bg-1);
resize: vertical;
outline: none;
padding: 0.5rem;
}
textarea:hover,
textarea:focus {
border-color: var(--ui-clr-primary);
}
</style>