[P2-php-svn] [837] exapck:

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 2月 24日 (水) 20:03:32 JST


Revision: 837
          http://sourceforge.jp/projects/p2-php/svn/view?view=rev&revision=837
Author:   rsk
Date:     2010-02-24 20:03:32 +0900 (Wed, 24 Feb 2010)

Log Message:
-----------
exapck:
- IEでスレ一覧の表示が崩れる不具合を修正。

Modified Paths:
--------------
    p2ex/trunk/js/subject.js
    p2ex/trunk/style/subject_css.inc


-------------- next part --------------
Modified: p2ex/trunk/js/subject.js
===================================================================
--- p2ex/trunk/js/subject.js	2010-02-23 14:44:33 UTC (rev 836)
+++ p2ex/trunk/js/subject.js	2010-02-24 11:03:32 UTC (rev 837)
@@ -121,6 +121,9 @@
 			self.attr('title', self.text());
 		}
 	})
+	if ($.browser.msie) {
+		$('.threadlist td').contents('[nodeType=3]').wrap('<span class="nowrap"></span>');
+	}
 });
 
 // }}}

Modified: p2ex/trunk/style/subject_css.inc
===================================================================
--- p2ex/trunk/style/subject_css.inc	2010-02-23 14:44:33 UTC (rev 836)
+++ p2ex/trunk/style/subject_css.inc	2010-02-24 11:03:32 UTC (rev 837)
@@ -290,17 +290,24 @@
 /* ti ƒXƒŒƒbƒhƒŠƒXƒg ‚·‚΂₳—“ */
 table.threadlist th.ts,
 table.threadlist td.ts {
-	width: 3em;
+	width: 3.5em;
 	text-align: right;
 }
 
 /* ti ƒXƒŒƒbƒhƒŠƒXƒg ¨‚¢—“ */
 table.threadlist th.ti,
 table.threadlist td.ti {
-	width: 3em;
+	width: 3.5em;
 	text-align: right;
 }
 
+/* IE‚Ìth,td—v‘f‚Åwhite-space:nowrap‚ªŒø‚©‚È‚¢ƒoƒO‘΍ô */
+table.threadlist td span.nowrap {
+	margin: 0;
+	padding: 0;
+	white-space: nowrap;
+}
+
 EOSTYLE;
 
 /*



P2-php-svn メーリングリストの案内
Back to archive index