Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 88a0f0b

Browse files
Merge pull request #3 from itainathaniel/make-textbox-height-better
Fix textarea's height
2 parents 3397679 + 514117b commit 88a0f0b

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

dist/js/tool.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/components/AdminNotes.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
<textarea
99
v-model="notes"
1010
@keyup="isChanged=true"
11-
class="w-full h-screen form-control form-input form-input-bordered py-3 min-h-textarea"
11+
class="w-full form-control form-input form-input-bordered py-3 min-h-textarea"
12+
style="height:50vh;"
1213
></textarea>
1314
</div>
1415
</div>
@@ -54,11 +55,9 @@ export default {
5455
});
5556
},
5657
initAutoSaveTimeout() {
57-
setTimeout(this.autoSave, 5 * 1000)
58-
console.log('initAutoSaveTimeout')
58+
setTimeout(this.autoSave, 7 * 1000)
5959
},
6060
autoSave() {
61-
console.log('autoSave', this.isChanged)
6261
if (this.isChanged) {
6362
this.saveNotes()
6463
this.isChanged = false

0 commit comments

Comments
 (0)