2007/9/6, Shun-ichi GOTO <[EMAIL PROTECTED]>:
> This is because column width is specified by style and width of
> "��定��" is larger than it. It may be same in Chinese and Korean.
>
> I feel this is ugry to see. So I'd prefer to set 'nowrap' style in
> these table header. Here is a patch.
>
> {{{
> #!patch
> diff -r cf324daebaf5 trac/htdocs/css/trac.css
> --- a/trac/htdocs/css/trac.css Tue Sep 04 16:36:17 2007 +0900
> +++ b/trac/htdocs/css/trac.css Thu Sep 06 03:03:34 2007 +0900
> @@ -406,6 +406,7 @@ table.listing thead th {
> font-weight: bold;
> padding: 2px .5em;
> vertical-align: bottom;
> + white-space: nowrap;
> }
> table.listing thead th :link:hover, table.listing thead th :visited:hover {
> background-color: transparent;
> }}}
>
> With this patch, previous example will be shown like:
>
> +-----+-------+--------+-------+
> | | 名称 | ��定�� | ��序 |
> +-----+-------+--------+-------+
> | [x] | xxxxx | o | ----- |
I am chinese, I think this patch is useful for me. but I think this
patch is not fit for all languages, for some languages, the phrase
have many words, so it must be wrapped. For example :
+----------------+
|default value|
+----------------+
should be wrapped like:
+--------+
|default|
|value |
+--------+
Does Trac supports multilanguages now or soon? If so, you patch is
very useful in CJK.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---