Skip to content
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

Commit box #123

Merged
merged 15 commits into from
Jul 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use char count instead of hardcoded number
K97i committed Jul 20, 2024
commit 55a9e958b92a0926ee188e4e23c49b6615d005fa
2 changes: 1 addition & 1 deletion frontend/src/lib/components/Editor.svelte
Original file line number Diff line number Diff line change
@@ -161,7 +161,7 @@
bind:value={inputValue}
maxlength={charCount}
/>
<div>{500 - inputValue.length} characters remaining</div>
<div>{charCount - inputValue.length} characters remaining</div>
<div class="commit-modal-buttons">
<button on:click={() => (showCommitModal = false)}>Deny</button>
<button on:click={confirmCommitHandler}>Confirm</button>