Forum message editor classes
authorArt Cancro <ajc@citadel.org>
Thu, 26 Jan 2023 22:45:56 +0000 (17:45 -0500)
committerArt Cancro <ajc@citadel.org>
Thu, 26 Jan 2023 22:45:56 +0000 (17:45 -0500)
These weren't set properly.  Still working.
Also having problems testing because I'm on a slow connection.  Will revisit later.

webcit-ng/static/css/webcit.css
webcit-ng/static/js/view_forum.js

index 4867b682edc2f00af2c84fc5899f6380ac62ef0f..0a04c1c16a6e819cbe462e6ad62bcc4d2200acc7 100644 (file)
@@ -240,7 +240,6 @@ html,body,h1,h2,h3,h4,h5 {
        cursor: default;
 }
 
-
 .ctdl-avatar {
        width: 32px;
 }
@@ -292,6 +291,16 @@ html,body,h1,h2,h3,h4,h5 {
        text-decoration: none;
 }
 
+.ctdl-msg-body {
+}
+
+.ctdl-forum-editor-body {
+       padding-left: 5px;
+       padding-right: 5px;
+       padding-top: 1px black;
+       padding-bottom: 1px black;
+}
+
 blockquote {
        background-color: #f5f5f5 !important;
        color: Navy !important;
index aac2d5a2ba2a7b407500190a67d5b38d2567fbda..f836824c06d537f117f8b7cfce1f921bef43af07 100644 (file)
@@ -330,7 +330,7 @@ function open_reply_box(parent_div, is_quoted, references, msgid) {
        + "<span id=\"ctdl-replyreferences\" style=\"display:none\">"   // hidden field for references
        + compose_references(references,msgid) + "</span>"
                                                                        // begin body
-       + "<div class=\"ctdl-msg-body\" id=\"ctdl-editor-body\" style=\"padding:5px;\" contenteditable=\"true\">"
+       + "<div class=\"ctdl-msg-body ctdl-forum-editor-body\" id=\"ctdl-editor-body\" contenteditable=\"true\">"
        + "\n";                                                         // empty initial content
 
        if (is_quoted) {