From 5b32048ade85f8d9e814bc08a37490c63b024230 Mon Sep 17 00:00:00 2001 From: Luke Faraone Date: Tue, 18 Sep 2012 17:19:29 -0400 Subject: [PATCH] Implement borders using CSS rather than brs, style the way Waseem wants. (imported from commit f4e23721a6eb0ffdd2d6e859b28417f0fdfbfe87) --- zephyr/static/js/zephyr.js | 2 +- zephyr/static/styles/zephyr.css | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/zephyr/static/js/zephyr.js b/zephyr/static/js/zephyr.js index 8a2cc2e134..6dbc29f646 100644 --- a/zephyr/static/js/zephyr.js +++ b/zephyr/static/js/zephyr.js @@ -631,7 +631,7 @@ function add_to_tables(zephyr, parent, table) { } else { zephyr.include_recipient = true; // add a space to the table - table.append($('').append($('')).append($('')).append($('').html('
').addClass('bookend'))); + table.append($('').append($('')).append($('')).append($('').addClass('bookend'))); } if (parent !== undefined && !zephyr.include_recipient && zephyr.sender === parent.sender) { diff --git a/zephyr/static/styles/zephyr.css b/zephyr/static/styles/zephyr.css index 96e112aee6..546ecb25e9 100644 --- a/zephyr/static/styles/zephyr.css +++ b/zephyr/static/styles/zephyr.css @@ -141,6 +141,12 @@ td.messagebox { margin-bottom: 20px; background-color: white; border: 1px solid gray; + border-bottom: 0px solid gray; +} + +td.bookend { + border-top: 1px solid gray; + padding-top: 5px; } td.collapsed_child {