Added the .editor class for a textarea with a 100% width

Added `.editor-html` for a textarea that will be replaced (when using eg CKEditor or TinyMCE)
This commit is contained in:
Arnold Daniels
2012-07-16 20:39:26 +02:00
parent 5edb01f758
commit e4ac9f2bb3

View File

@@ -0,0 +1,17 @@
// Forms-editor.less
// CSS for editor textarea
// -----------------------
.editor {
.box-sizing(border-box);
height: 100px;
width: 100%;
padding: 5px;
}
.uneditable-textarea.editor-html {
white-space: normal;
padding: 5px 3px 5px 5px;
}
textarea.editor-html {
visibility: hidden; // Assume it will be replaced
}