Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 2a98653

Browse files
committed
Fix: Logo size for mobile
1 parent cb33d5d commit 2a98653

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/default/user.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="carousel slide col-md-12" data-ride="carousel" id="myCarousel" style="margin-bottom: 50px;">
3434
{{ pass }}
3535
<div class="col-md-4 col-md-offset-2" style="text-align: center;">
36-
<img src="/static/images/logo_small.png" width="400" style="margin: auto;" alt="Runestone Logo" >
36+
<img src="/static/images/logo_small.png" width="400" style="margin: auto; max-width: 100%" alt="Runestone Logo" >
3737
</div>
3838
</div><!-- /.carousel -->
3939
{{ if 'static' in request.env.query_string:}}
@@ -43,7 +43,7 @@
4343
<!-- LOGIN -->
4444
{{if not settings.lti_only_mode:}}
4545
{{ if not auth.user or request.args(0) == 'impersonate': }}
46-
<h4 class="col-md-4 col-md-offset-1">{{=T( request.args(0).replace('_',' ').capitalize() )}}</h4>
46+
<h4 class="col-md-4 col-md-offset-1 col-sm-offset-1 col-xs-offset-1">{{=T( request.args(0).replace('_',' ').capitalize() )}}</h4>
4747
{{ pass }}
4848
{{ if request.args(0) == 'login' and not auth.user: }}
4949
<div id="web2py_user_form" class="col-md-4 col-md-offset-1 col-sm-offset-1 col-xs-offset-1">

0 commit comments

Comments
 (0)