From dc5fd84efd532b358e9a573e7a03fef43436d117 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 12 Aug 2009 12:04:16 -0500 Subject: [PATCH] Fix for Bug 3256, "Long email address cut off in patron windows" Content-Type: text/plain; charset="utf-8" This fix tweaks the overflow settings for the email address and adds an image of an elipsis as the background, giving the appearance that the text is being truncated. --- .../intranet-tmpl/prog/en/css/staff-global.css | 17 +++++++++++------ koha-tmpl/intranet-tmpl/prog/img/elipsis.gif | Bin 0 -> 51 bytes 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/img/elipsis.gif diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index cc354ce..41ba3e9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1244,12 +1244,17 @@ h1#logo a { font-size : 200%; } -.email { -font-size : 87%; -width : 15em; -margin: 0; -padding: 0; -overflow : hidden; +li.email a { + display:block; + overflow:hidden; + width:13em; +} +li.email { + background: #FFF url(../../img/elipsis.gif) right bottom no-repeat; + font-size : 87%; + overflow:hidden; + padding :0 10px 0 0; + width:13em; } .empty { diff --git a/koha-tmpl/intranet-tmpl/prog/img/elipsis.gif b/koha-tmpl/intranet-tmpl/prog/img/elipsis.gif new file mode 100644 index 0000000000000000000000000000000000000000..15ed1563d711f23e69e669c800a96921a0e0e1d2 GIT binary patch literal 51 zcmZ?wbhEHb