Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
mugendi committed May 2, 2024
1 parent fcb7443 commit a85cf7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/svelte-former.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/elements/controls/Input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<div>
<Label bind:control cls="label pad-left"/>

<div class="radio" bind:this={control.node}>
<div class="radio-control" bind:this={control.node}>
{#each control.options as option, i}
{(optionValue = option.value || option) && ""}

Expand Down Expand Up @@ -62,7 +62,7 @@
<!-- Check Boxes -->
{:else if type == "checkbox"}
<div class="label-container">
<div class="checkbox">
<div class="checkbox-control">
<input
{...control.attributes}
on:change={onChange}
Expand Down
2 changes: 1 addition & 1 deletion src/styles/form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
align-items: end;
margin-bottom: 5px;

.radio, .checkbox{
.radio-control, .checkbox-control{
text-wrap: nowrap;
margin-top: 5px;
}
Expand Down

0 comments on commit a85cf7a

Please sign in to comment.