Add Markdown preview for textarea, see #407
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -49,7 +49,7 @@ input[type="number"] {
|
||||
textarea {
|
||||
border: 1px solid #ccc;
|
||||
width: 400px;
|
||||
max-width: 95%;
|
||||
max-width: 99%;
|
||||
height: 200px;
|
||||
font-size: 1.0em;
|
||||
font-family: sans-serif;
|
||||
@@ -140,7 +140,6 @@ input.form-input-large {
|
||||
|
||||
.form-column {
|
||||
float: left;
|
||||
margin-bottom: 60px;
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
@@ -166,4 +165,48 @@ input.form-input-large {
|
||||
|
||||
.form-checkbox-group label {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
/* preview tabs */
|
||||
.form-tabs {
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.form-tabs-nav {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.form-tabs-nav li {
|
||||
margin-left: 0;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.form-tab {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.form-tab a {
|
||||
color: #ccc;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.form-tab a:focus,
|
||||
.form-tab a:hover {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.form-tab-selected a {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.preview-area {
|
||||
border: 1px dashed #000;
|
||||
padding-top: 5px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
margin-bottom: 5px;
|
||||
display: none;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* responsive design */
|
||||
@media only screen and (min-width : 768px) and (max-width : 1024px) {
|
||||
@media only screen and (min-width : 769px) and (max-width : 1024px) {
|
||||
|
||||
.hide-tablet {
|
||||
display: none;
|
||||
@@ -16,6 +16,14 @@
|
||||
.task-board-title {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.form-tab {
|
||||
max-width: 662px;
|
||||
}
|
||||
|
||||
input.form-date ~ div.form-help {
|
||||
max-width: 150px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width : 768px) {
|
||||
@@ -65,4 +73,8 @@
|
||||
.task-board-title {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.form-tab {
|
||||
max-width: 404px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,8 +171,8 @@ a.task-board-nobody {
|
||||
}
|
||||
|
||||
.description-textarea {
|
||||
width: 80%;
|
||||
max-width: 800px;
|
||||
width: 99%;
|
||||
max-width: 99%;
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
@@ -233,4 +233,4 @@ tr td.task-orange,
|
||||
.task-orange {
|
||||
background-color: rgb(255, 215, 179);
|
||||
border-color: rgb(255, 172, 98);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user