Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
farthinker committed May 19, 2015
1 parent fc46ad6 commit f1f6686
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions site/assets/styles/simditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,18 @@
position: relative;
border: 1px solid #c9d8db;
}
.simditor textarea {
.simditor.simditor-source-mode textarea {
display: block !important;
}
.simditor.simditor-source-mode .simditor-body, .simditor.simditor-source-mode .simditor-placeholder {
display: none !important;
}
.simditor .simditor-wrapper {
position: relative;
background: #ffffff;
overflow: hidden;
}
.simditor .simditor-wrapper > textarea {
display: none !important;
width: 100%;
box-sizing: border-box;
Expand All @@ -152,17 +163,6 @@
background: transparent;
resize: none;
}
.simditor.simditor-source-mode textarea {
display: block !important;
}
.simditor.simditor-source-mode .simditor-body, .simditor.simditor-source-mode .simditor-placeholder {
display: none !important;
}
.simditor .simditor-wrapper {
position: relative;
background: #ffffff;
overflow: hidden;
}
.simditor .simditor-wrapper .simditor-placeholder {
display: none;
position: absolute;
Expand Down
24 changes: 12 additions & 12 deletions styles/simditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,18 @@
position: relative;
border: 1px solid #c9d8db;
}
.simditor textarea {
.simditor.simditor-source-mode textarea {
display: block !important;
}
.simditor.simditor-source-mode .simditor-body, .simditor.simditor-source-mode .simditor-placeholder {
display: none !important;
}
.simditor .simditor-wrapper {
position: relative;
background: #ffffff;
overflow: hidden;
}
.simditor .simditor-wrapper > textarea {
display: none !important;
width: 100%;
box-sizing: border-box;
Expand All @@ -157,17 +168,6 @@
background: transparent;
resize: none;
}
.simditor.simditor-source-mode textarea {
display: block !important;
}
.simditor.simditor-source-mode .simditor-body, .simditor.simditor-source-mode .simditor-placeholder {
display: none !important;
}
.simditor .simditor-wrapper {
position: relative;
background: #ffffff;
overflow: hidden;
}
.simditor .simditor-wrapper .simditor-placeholder {
display: none;
position: absolute;
Expand Down

0 comments on commit f1f6686

Please sign in to comment.