Fix for Bug 3256, "Long email address cut off in patron windows"
authorOwen Leonard <oleonard@myacpl.org>
Wed, 12 Aug 2009 17:07:08 +0000 (12:07 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Thu, 13 Aug 2009 01:13:59 +0000 (21:13 -0400)
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.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/img/elipsis.gif [new file with mode: 0644]

index cc354ce..41ba3e9 100644 (file)
@@ -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 (file)
index 0000000..15ed156
Binary files /dev/null and b/koha-tmpl/intranet-tmpl/prog/img/elipsis.gif differ