Skip to content

Commit

Permalink
Merge pull request #576 from will-moore/mobile_viewport_scaleable
Browse files Browse the repository at this point in the history
webclient page scaleable, login page device-width
  • Loading branch information
knabar authored Sep 10, 2024
2 parents db10592 + 0663a74 commit 7c5ea1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion omeroweb/webclient/templates/webclient/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@

{% block head %}
{{ block.super }}

<meta name="viewport" content="width=device-width, initial-scale=1" />

<script type="text/javascript" charset="utf-8">
$(function(){ $("label").inFieldLabels(); });
</script>
Expand Down
2 changes: 0 additions & 2 deletions omeroweb/webgateway/templates/webgateway/base/base_main.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
<!-- Turn touch events into drag events for jquery-ui -->
<script type="text/javascript" src="{% static "3rdparty/jquery.ui.touch-punch-0.2.3.min.js" %}"></script>

<!-- Make the width fit the mobile viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<!-- Allow webclient to be 'added to home-screen' as a full-screen app on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
{% endblock %}

0 comments on commit 7c5ea1e

Please sign in to comment.