From 633142fa6b43649af0398bccb17f9cfdf5241cf8 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 18 Sep 2008 16:16:27 -0400
Subject: [PATCH] Prevent drag layer from wrapping lines

---
 program/js/list.js       |    2 +-
 skins/default/common.css |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/program/js/list.js b/program/js/list.js
index 6abe6a0..5da2bb1 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -693,7 +693,7 @@
       return false;
   
     if (!this.draglayer)
-      this.draglayer = new rcube_layer('rcmdraglayer', {x:0, y:0, width:300, vis:0, zindex:2000});
+      this.draglayer = new rcube_layer('rcmdraglayer', {x:0, y:0, vis:0, zindex:2000});
   
     // get subjects of selectedd messages
     var names = '';
diff --git a/skins/default/common.css b/skins/default/common.css
index ef138cb..7d3d35f 100644
--- a/skins/default/common.css
+++ b/skins/default/common.css
@@ -388,6 +388,8 @@
 
 #rcmdraglayer
 {
+  min-width: 300px;
+  width: auto !important;
   width: 300px;
   border: 1px solid #999999;
   background-color: #F9F9F9;
@@ -396,6 +398,7 @@
   padding-top: 3px;
   padding-bottom: 3px;
   font-size: 11px;
+  white-space: nowrap;
   opacity: 0.7;
   -moz-opacity: 0.7;
   filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);

--
Gitblit v1.9.1