Skip to content

Commit

Permalink
feat: ✨ Allow multiline commit messages, fix #157
Browse files Browse the repository at this point in the history
  • Loading branch information
phibr0 committed Dec 26, 2021
1 parent dcc2c50 commit 80ea17e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/ui/sidebar/gitView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@
on:click={refresh}
/>
<div class="search-input-container">
<input
<textarea
class="commit-msg"
type="text"
spellcheck="true"
placeholder="Commit Message"
Expand Down Expand Up @@ -239,6 +240,19 @@
</main>

<style lang="scss">
.commit-msg {
width: 100%;
min-height: 1.9em;
height: 1.9em;
resize: vertical;
padding: 2px 5px;
background-color: var(--background-modifier-form-field);
}
.search-input-container {
width: 100%;
}
.file-view {
margin-left: 5px;
}
Expand Down

0 comments on commit 80ea17e

Please sign in to comment.