Add text area auto size for notes

This commit is contained in:
Mitchell McCaffrey
2021-06-17 11:05:25 +10:00
parent bc97f4838a
commit 09d3023d7a
6 changed files with 76 additions and 11 deletions

View File

@@ -0,0 +1,22 @@
.textarea-auto-size {
box-sizing: border-box;
margin: 0;
min-width: 0;
display: block;
width: 100%;
appearance: none;
font-size: inherit;
line-height: inherit;
border-radius: 4px;
color: inherit;
background-color: transparent;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", sans-serif;
padding: 4px;
border: none;
resize: none;
}
.textarea-auto-size:focus {
outline: none;
}