From 2bddae1fc065b75ad17ea9556b5112301eda4a0e Mon Sep 17 00:00:00 2001
From: Chris Adams <chris@improbable.org>
Date: Wed, 8 Dec 2010 11:30:19 -0500
Subject: [PATCH] dashboard.css: set text-overflow on recent actions
If there are long words in the recent actions text
they'll overflow out of the recent actions box. It
would be possible to make the box expand but the
CSS text-overflow property works perfectly here,
allowing normal word wrapping but causing the
browser to truncate text with an ellipsis when
necessary (e.g. filenames or long numbers).
Works in Safari, Opera, IE7+, Firefox 3.6
---
django/contrib/admin/media/css/dashboard.css | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/django/contrib/admin/media/css/dashboard.css b/django/contrib/admin/media/css/dashboard.css
index 88e3b1d..779dedb 100644
a
|
b
|
|
22 | 22 | ul.actionlist li { |
23 | 23 | list-style-type: none; |
24 | 24 | } |
| 25 | |
| 26 | ul.actionlist li.changelink { |
| 27 | overflow: hidden; |
| 28 | text-overflow: ellipsis; |
| 29 | } |
| 30 | No newline at end of file |