Changed contenteditable div to textarea
This commit is contained in:
parent
cb9d95bcb2
commit
0175c4044c
5 changed files with 47 additions and 18 deletions
|
|
@ -172,19 +172,23 @@ header {
|
|||
.node-content {
|
||||
justify-self: center;
|
||||
padding: 16px 32px;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
font-family: monospace;
|
||||
font-size: 0.85em;
|
||||
color: #333;
|
||||
width: 100ex;
|
||||
resize: none;
|
||||
border: none;
|
||||
outline: none;
|
||||
|
||||
&[contenteditable] {
|
||||
outline: 0px solid transparent;
|
||||
}
|
||||
|
||||
&:empty {
|
||||
background: #ddd;
|
||||
&:invalid {
|
||||
//background: #eee;
|
||||
border-bottom: 1px solid #eee;
|
||||
border-radius: 8px;
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue