diff --git a/media/css/seahub.css b/media/css/seahub.css index 40861868f5..8e9abfe483 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -1480,8 +1480,9 @@ textarea:-moz-placeholder {/* for FF */ font-family: Consolas,"Liberation Mono",Courier,monospace;/*override .ace_editor*/ min-height: 200px; } -#docu-view .ace_gutter { - height:auto;/*for ie8, in case that docu has only a few lines*/ +#img-prev-next { + font-size:1.1em; + margin-bottom:5px; } #image-view { padding:1px; diff --git a/templates/file_view.html b/templates/file_view.html index d95a939fca..15f379aadc 100644 --- a/templates/file_view.html +++ b/templates/file_view.html @@ -83,7 +83,9 @@ {% endif %} + {% with page='file_view' %} {% include 'snippets/file_content_html.html' %} + {% endwith %}