more tweaks to mailbox css
authorArt Cancro <ajc@citadel.org>
Fri, 9 Sep 2022 15:58:04 +0000 (11:58 -0400)
committerArt Cancro <ajc@citadel.org>
Fri, 9 Sep 2022 15:58:04 +0000 (11:58 -0400)
webcit-ng/static/css/webcit.css
webcit-ng/static/js/view_mail.js

index 37f4dc8f803ea5a4720458523d0082cfdca59dd2..de5fbae2ff7a6bdfa5d2254052b7027eebcd6247 100644 (file)
@@ -319,6 +319,7 @@ blockquote pre {
        overflow: hidden;
        width: 100%;
        height: 100%;
+       background-color: GhostWhite;
 }
 
 .ctdl-mailbox-pane {                                   /* list of messages when in mailbox view */
@@ -335,8 +336,11 @@ blockquote pre {
 }
 
 .ctdl-mailbox-table td {
-       padding-top: 5px;
-       padding-bottom: 5px;
+       padding: 5px;
+}
+
+.ctdl-mailbox-table tr {
+       cursor: pointer;
 }
 
 .ctdl-mailbox-table tr:nth-child(even) {               /* this gives us the alternating-bar effect */
@@ -361,6 +365,7 @@ blockquote pre {
 .ctdl-mailbox-table th:hover {                         /* Suppress highlighting the header bar */
        background-color: SlateGrey;
        color: White;
+       cursor: default;
 }
 
 .ctdl-mailbox-reading-pane {                           /* message reading pane when in mailbox view */
index e27ef681035d0460cb60187fdbde518616403f87..9ed218b04d44dda2fa6ddf3b30248d494c36af0f 100644 (file)
@@ -115,7 +115,7 @@ function mail_render_row(msg) {
                + ">"
                + "<td>" + msg["subject"] + "</td>"
                + "<td>" + msg["author"] + " &lt;" + msg["addr"] + "&gt;</td>"
-               + "<td>" + string_timestamp(msg["time"],1) + "</td>"
+               + "<td style=\"white-space: nowrap\">" + string_timestamp(msg["time"],1) + "</td>"
                + "<td>" + msg["msgnum"] + "</td>"
                + "</tr>";
        return(row);