Skip to content

Commit

Permalink
Update view_file_onlyoffice.html
Browse files Browse the repository at this point in the history
  • Loading branch information
r350178982 committed Aug 5, 2024
1 parent 381a945 commit dd152e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions seahub/templates/view_file_onlyoffice.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
<html>
<head>
<title>{{doc_title}}</title>
{% if request.is_mobile or request.is_tablet %}
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
{% else %}
<meta name="viewport" content="width=device-width, initial-scale=1" />
{% endif %}
<link rel="icon" href="{{ MEDIA_URL }}{{ favicon_path }}" />
<style type="text/css">
html, body { padding:0; margin:0; height:100%; }
Expand Down

0 comments on commit dd152e2

Please sign in to comment.