mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-08-19 11:50:09 +08:00
Change div+input box to textarea
This commit is contained in:
+26
-8
@@ -74,6 +74,7 @@ body {
|
||||
list-style: none;
|
||||
.task {
|
||||
margin: 10px 0;
|
||||
height: 20px;
|
||||
color: $fontcolor;
|
||||
.link {
|
||||
vertical-align: middle;
|
||||
@@ -106,13 +107,30 @@ body {
|
||||
z-index: 8;
|
||||
background-color: #aaa;
|
||||
}
|
||||
.content {
|
||||
padding-left: 10px;
|
||||
width: 90%;
|
||||
line-height: 20px;
|
||||
text-align: justify;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
textarea.edit {
|
||||
box-shadow: none;
|
||||
display: inline;
|
||||
background: transparent;
|
||||
resize: none;
|
||||
outline: 0;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 620px;
|
||||
height: 18px;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
line-height: inherit;
|
||||
letter-spacing: inherit;
|
||||
color: inherit;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
textarea.edit:focus {
|
||||
background-color: white;
|
||||
height: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -127,4 +145,4 @@ body {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user