Support form controls without labels, added paddings

This commit is contained in:
koloml committed 2024-08-07 02:29:19 +04:00
1 parent f71dc5a029
commit 8aacd83474
1 file changed
+3 -1
+3 -1
View File
@@ -1,7 +1,7 @@
<script>
/** @type {string|undefined} */
export let label;
export let label = undefined;
</script>
<label class="control">
@@ -17,6 +17,8 @@
}
.control {
padding: 5px 0;
:global(textarea) {
width: 100%;
resize: vertical;