Skip to content

Commit

Permalink
lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Nov 3, 2024
1 parent 21bc68d commit 0004f14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/repl/app/components/limber/share.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ dialog.preem main {
display: grid;
gap: 1rem;

label {
.field {
display: grid;
gap: 0.5rem;
input {
Expand Down
10 changes: 5 additions & 5 deletions apps/repl/app/components/limber/share.gts
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ const ReadonlyField: TOC<{
copyable?: boolean | undefined;
};
}> = <template>
<label>
<span>{{@label}}</span>
<span class="field">
<label for="share-copy">{{@label}}</label>
<span class="field-input">
<input value={{@value}} readonly ...attributes />
<input value={{@value}} name="share-copy" readonly ...attributes />
{{#if @copyable}}
<button {{on "click" (fn writeToClipboard @value)}}>Copy</button>
<button type="button" {{on "click" (fn writeToClipboard @value)}}>Copy</button>
{{/if}}
</span>
</label>
</span>
</template>;

const isLast = (collection: unknown[], index: number) => index === collection.length - 1;
Expand Down

0 comments on commit 0004f14

Please sign in to comment.