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

Commit ba6a443

Browse files
committed
Fix: registration page was bad on mobile
1 parent 599457b commit ba6a443

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

static/runestone-custom-sphinx-bootstrap.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ div.flash {
324324
padding-top: 3px;
325325
}
326326

327-
#web2py_user_form td {
327+
#web2py_user_form td,
328+
#web2py_register_form td {
328329
padding-bottom: 15px;
329330
}
330331

views/default/user.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ <h4>Course IDs for open courses</h4>
173173
{{if (request.args(0) == 'register'): }} <!-- register page -->
174174
{{if not settings.lti_only_mode:}}
175175
<div id="registration_div">
176-
<div class="col-md-6 col-sm-6 col-xs-6">
176+
<div class="col-md-6 col-sm-6 col-xs-12">
177177
<h2>Runestone Registration</h2>
178-
<div id="web2py_user_form">
178+
<div id="web2py_register_form">
179179
<script type="text/javascript">
180180
function checkTcp() {
181181
let cb = document.getElementById("auth_user_accept_tcp");
@@ -289,7 +289,7 @@ <h2>Runestone Registration</h2>
289289
</div> <!-- end form div -->
290290
</div>
291291
</div> <!-- end register div -->
292-
<div class="col-md-6 col-sm-6 col-xs-6">
292+
<div class="col-md-6 col-sm-6 col-xs-12">
293293
<h4>Registration Hints</h4>
294294
<p>In the field for the <strong>Course Name</strong> please use the course name your instructor gave you. Or...</p>
295295
<p> If you are an <strong>instructor</strong> registering for the first time OR an <strong>independent learner</strong> use one of the following for our open, public courses.</p>

0 commit comments

Comments
 (0)