mirror of
https://github.com/jasny/bootstrap.git
synced 2026-01-20 20:08:03 -05:00
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:
17
less/jasny/forms-editor.less
Normal file
17
less/jasny/forms-editor.less
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user