Commit b0642239 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

shrink the text size of lengthy major names... fixes overflow problem with the...

shrink the text size of lengthy major names... fixes overflow problem with the exception of Information Systems and Operations Management BS on 'md'
parent e1f78d4b
...@@ -40,13 +40,20 @@ ...@@ -40,13 +40,20 @@
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-10 col-md-offset-1"> <div class="col-sm-10 col-sm-offset-1">
{% for letter in majors_by_letter %} {% for letter in majors_by_letter %}
<legend><a name="{{ letter.grouper }}" href="#{{ letter.grouper }}">{{ letter.grouper }}</a></legend> <legend><a name="{{ letter.grouper }}" href="#{{ letter.grouper }}">{{ letter.grouper }}</a></legend>
<div class="row"> <div class="row">
{% for major in letter.list %} {% for major in letter.list %}
<div class="col-md-6 text-center"> <div class="col-md-6 text-center">
<a href="{{ major.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">{{ major.name }}</a> {% if major.name|length > 39 %}
<a href="{{ major.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">
<small>{{ major.name }}</small></a>
{% else %}
<a href="{{ major.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">
{{ major.name }}
</a>
{% endif %}
</div> </div>
{% if forloop.counter|divisibleby:2 %} {% if forloop.counter|divisibleby:2 %}
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment