-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fixes Group Chat Issue (NIP-28) on bundle #6
base: main
Are you sure you want to change the base?
Conversation
@@ -1,6 +1,8 @@ | |||
.idea |
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.
webstorm stuff
.DS_Store | ||
node_modules | ||
/build | ||
/dist |
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.
new folder on updated svelte kit
"scripts": { | ||
"dev": "vite dev", | ||
"build": "svelte-kit sync && svelte-package", | ||
"bundle": "rimraf ./public && NODE_ENV=production rollup -c", |
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.
making other people lives easier ;)
@@ -40,7 +37,6 @@ export default { | |||
plugins: [tailwindcss(), autoprefixer()], | |||
}, | |||
}), | |||
vitePreprocess(), |
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.
not needed
@@ -248,7 +248,7 @@ | |||
|
|||
<div class=" | |||
bg-purple-700 text-white | |||
-mx-4 -mt-5 mb-3 | |||
-mx-5 -mt-5 mb-3 |
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.
-mx-4 caused minor issues in my app...
@@ -311,7 +311,7 @@ | |||
{/if} | |||
{/if} | |||
|
|||
<div id="messages-container" class="overflow-auto -mx-4 px-4" style="height: 50vh; min-height: 300px;"> | |||
<div id="messages-container" class="overflow-auto -mx-4 px-4 relative top-[-12px] mb-[-20px]" style="height: calc(50vh + 12px); min-height: 300px;"> |
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.
chat window should now fit pixel-perfectly (tested chrome, brave, and firefox)
<div class=" | ||
fixed bottom-5 right-5 mb-5 flex flex-col item-end font-sans | ||
"> | ||
<div id="nostri-chat" class="fixed bottom-5 right-5 mb-5 flex flex-col item-end font-sans"> |
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.
having an id can be handy
We are waiting for the merge in hope, this will resolve "GROUP" chat |
fixes #5
Additional improvements:
npm run bundle