commit/galaxy-central: greg: Add styles to the readme container.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/bf84118d5667/ changeset: bf84118d5667 user: greg date: 2013-02-21 17:49:21 summary: Add styles to the readme container. affected #: 1 file diff -r 45f1d93124ad4cadff01d8ae0fadfb1db5d8fcb2 -r bf84118d56670484db09986435bb79376e8fb52b templates/webapps/community/repository/common.mako --- a/templates/webapps/community/repository/common.mako +++ b/templates/webapps/community/repository/common.mako @@ -462,13 +462,25 @@ from galaxy.util.shed_util_common import to_safe_string encoded_id = trans.security.encode_id( readme.id ) %> + <style type="text/css"> + #readme_table{ table-layout:fixed; + width:100%; + overflow-wrap:normal; + overflow:hidden; + border:0px; + word-break:keep-all; + word-wrap:break-word; + line-break:strict; } + </style><tr class="datasetRow" %if parent is not None: parent="${parent}" %endif id="libraryItem-${encoded_id}"><td style="padding-left: ${pad+20}px;"> - ${ to_safe_string( readme.text, to_html=True ) } + <table id="readme_table"> + <tr><td>${ to_safe_string( readme.text, to_html=True ) }</td></tr> + </table></td></tr><% Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket