Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMyst committed May 11, 2024
1 parent f8242d5 commit 9e4ebee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
12 changes: 6 additions & 6 deletions client/src/lib/PastyMeta.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@
button,
.btn {
margin-left: 0.5rem;
}
&.enabled {
color: var(--color-secondary);
border-color: var(--color-secondary);
button.enabled {
color: var(--color-secondary);
border-color: var(--color-secondary);
.icon {
color: var(--color-secondary);
}
.icon {
color: var(--color-secondary);
}
}
}
Expand Down
7 changes: 5 additions & 2 deletions client/src/routes/[paste]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,9 @@
</div>
{:else}
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
{@html data.highlightedCode[data.paste.pasties.findIndex((p) => p.id === activePastyId)]}
{@html data.highlightedCode[
data.paste.pasties.findIndex((p) => p.id === activePastyId)
]}
{/if}
{/if}
</div>
Expand Down Expand Up @@ -521,7 +523,8 @@
}
}
:global(.shiki), .markdown {
:global(.shiki),
.markdown {
border-bottom-left-radius: $border-radius;
border-bottom-right-radius: $border-radius;
border: 1px solid var(--color-bg2);
Expand Down

0 comments on commit 9e4ebee

Please sign in to comment.