Revert "Removed the "fix_scrollbarbug" div and all references to it."
[citadel.git] / webcit / wiki.c
index c5bb3086c7ba8c76db3e9c7fe9b086a63d262f26..34067244f533a9f5091dccacbc4c689632ef749f 100644 (file)
@@ -160,7 +160,9 @@ void tmplput_display_wiki_history(StrBuf *Target, WCTemplputParams *TP)
                StrBuf *author = NewStrBuf();
                StrBuf *node = NewStrBuf();
 
-               wc_printf("<table class=\"wiki_history_background\">");
+               wc_printf("<div class=\"fix_scrollbar_bug\">"
+                       "<table class=\"wiki_history_background\">"
+               );
 
                wc_printf("<th>%s</th>", _("Date"));
                wc_printf("<th>%s</th>", _("Author"));
@@ -280,7 +282,10 @@ void tmplput_display_wiki_pagelist(StrBuf *Target, WCTemplputParams *TP)
        if (GetServerStatus(Buf, NULL) == 1) {
                StrBuf *pagetitle = NewStrBuf();
 
-               wc_printf("<table class=\"wiki_pagelist_background\">");
+               wc_printf("<div class=\"fix_scrollbar_bug\">"
+                       "<table class=\"wiki_pagelist_background\">"
+               );
+
                wc_printf("<th>%s</th>", _("Page title"));
 
                while(StrBuf_ServGetln(Buf), strcmp(ChrPtr(Buf), "000")) {