-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add ability to copy code snippets #44
Conversation
Deploying hollama with
|
Latest commit: |
7d2851b
|
Status: | ✅ Deploy successful! |
Preview URL: | https://d44c59f1.hollama.pages.dev |
Branch Preview URL: | https://19-copy-code-snippets.hollama.pages.dev |
@@ -193,7 +193,7 @@ | |||
</div> | |||
{/if} | |||
|
|||
{#each session.messages as message} | |||
{#each session.messages as message, i (session.id + i)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to set a unique key for every instance of <Article>
so it get's mounted/dismounted every time the session changes.
&--icon :global(svg) { | ||
@apply opacity-25 hover:opacity-50 active:opacity-100; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applies a darker color when clicking on the icon.
Closes #19