diff --git a/anatomy/templates/anatomy/base.html b/anatomy/templates/anatomy/base.html index d9ae5560..e8b1b61f 100644 --- a/anatomy/templates/anatomy/base.html +++ b/anatomy/templates/anatomy/base.html @@ -9,10 +9,10 @@ Anatomy - + - + {% if request.user.is_authenticated %} diff --git a/longs/templates/longs/base.html b/longs/templates/longs/base.html index acd58998..a05c70ca 100755 --- a/longs/templates/longs/base.html +++ b/longs/templates/longs/base.html @@ -18,10 +18,10 @@ Longs - + - + {% if request.user.is_authenticated %} @@ -49,17 +49,19 @@ - Longs: - {% if request.user.is_authenticated %} - Exams / - Create Exam / - Cases / - Series / - Create Case / - {% endif %} - {% if request.user.is_superuser %} - / Answers - {% endif %} + + Longs: + {% if request.user.is_authenticated %} + Exams / + Create Exam / + Cases / + Series / + Create Case / + {% endif %} + {% if request.user.is_superuser %} + / Answers + {% endif %} + {% comment %} Questions by: author {% endcomment %} diff --git a/physics/templates/physics/base.html b/physics/templates/physics/base.html index 2d75aa8d..cbba62c1 100644 --- a/physics/templates/physics/base.html +++ b/physics/templates/physics/base.html @@ -8,10 +8,10 @@ Physics - + - + {% if request.user.is_authenticated %} diff --git a/rad/static/css/widgets.css b/rad/static/css/widgets.css index d3bd67ac..c17215bd 100644 --- a/rad/static/css/widgets.css +++ b/rad/static/css/widgets.css @@ -318,6 +318,36 @@ p.url { font-weight: bold; } +@media (max-width: 767.98px) { + .selector, + .stacked { + width: 100%; + max-width: 100%; + } + + .selector-available, + .selector-chosen, + .stacked .selector-available, + .stacked .selector-chosen { + width: 100%; + float: none; + } + + .selector select, + .selector .selector-available input, + .stacked select, + .stacked .selector-available input { + width: 100%; + max-width: 100%; + } + + .selector ul.selector-chooser, + .stacked ul.selector-chooser { + margin: .5rem auto; + float: none; + } +} + .url a { font-weight: normal; } diff --git a/rapids/templates/rapids/base.html b/rapids/templates/rapids/base.html index 54e22cc8..17dc1554 100755 --- a/rapids/templates/rapids/base.html +++ b/rapids/templates/rapids/base.html @@ -21,10 +21,10 @@ Rapids - + - + {% if request.user.is_authenticated %} diff --git a/shorts/templates/shorts/base.html b/shorts/templates/shorts/base.html index 9feb450b..da44b651 100644 --- a/shorts/templates/shorts/base.html +++ b/shorts/templates/shorts/base.html @@ -21,10 +21,10 @@ Shorts - + - + {% if request.user.is_authenticated %} diff --git a/static/css/widgets.css b/static/css/widgets.css index d3bd67ac..c17215bd 100644 --- a/static/css/widgets.css +++ b/static/css/widgets.css @@ -318,6 +318,36 @@ p.url { font-weight: bold; } +@media (max-width: 767.98px) { + .selector, + .stacked { + width: 100%; + max-width: 100%; + } + + .selector-available, + .selector-chosen, + .stacked .selector-available, + .stacked .selector-chosen { + width: 100%; + float: none; + } + + .selector select, + .selector .selector-available input, + .stacked select, + .stacked .selector-available input { + width: 100%; + max-width: 100%; + } + + .selector ul.selector-chooser, + .stacked ul.selector-chooser { + margin: .5rem auto; + float: none; + } +} + .url a { font-weight: normal; } diff --git a/templates/base.html b/templates/base.html index fed0fe18..1d0df9b1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -81,12 +81,43 @@