From e5c614f189d6d59070ec7298aefec9adbeef3886 Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 1 Mar 2009 01:27:28 +0000 Subject: [PATCH] * fmout class different depending o input * text-overflow: ellpisis will truncate text in listview table in every browser but Firefox (argh) --- webcit/serv_func.c | 2 +- webcit/static/webcit.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/webcit/serv_func.c b/webcit/serv_func.c index d64d83983..5fc0996bd 100644 --- a/webcit/serv_func.c +++ b/webcit/serv_func.c @@ -192,7 +192,7 @@ void FmOut(StrBuf *Target, char *align, StrBuf *Source) long len; int intext = 0; - StrBufAppendPrintf(Target, "
\n", align); + StrBufAppendPrintf(Target, "
\n", align); while ((n = StrBufSipLine(Line, Source, &BufPtr), n >= 0) && !done) { done = n == 0; diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index e3c2fe4f0..ee60b22aa 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -617,6 +617,8 @@ body, #global { } .col1, .col2, .col3 { cursor: pointer; + text-overflow: ellipsis; + -o-text-overflow: ellipsis; } .new_message { font-weight: bold; !important; -- 2.30.2