Commits

Brad Pitcher  committed 4236c60

remove inserted spaces from long words in site settings

  • Participants
  • Parent commits 117bf4a

Comments (0)

Files changed (1)

File livesettings/templates/livesettings/site_settings.html

 fieldset.collapsed h2 { display: block !important; }
 fieldset.collapsed h2 a { display: inline !important; }
 div.fieldcontainer { float: left; margin-right: 0; }
+p.help { word-wrap: break-word; }
+table { width: 100%; table-layout: fixed; }
+td:first-child { width: 50%; }
 </style>
 {% endblock %}
 {% block coltype %}colMS{% endblock %}
 	            {% endif %}
 	            <fieldset class="module collapse">
 	            <h2 id="{{ group.key }}">{{ group.name }}</h2>
-	                <table summary="{% blocktrans with group.name as name %}Group settings: {{ name }}{% endblocktrans %}" style="width: 100%">
+	                <table summary="{% blocktrans with group.name as name %}Group settings: {{ name }}{% endblocktrans %}">
 	            {% endwith %}{% endifchanged %}
 
 	            	    {% if field.errors %}
 	        		    </tr>
 	    		        {% endif %}
 	        			<tr{% if field.errors %} class="error"{% endif %}>
-	    				    <td style="width: 50%;">
+	    				    <td>
 	        					{{ field.label_tag }}
 	        					{% if field.help_text %}
-	        						<p class="help">{{ field.help_text|break_at:40|safe }}</p>
+	        						<p class="help">{{ field.help_text|safe }}</p>
 	        					{% endif %}
 	        					{% if field.field.default_text %}
-	        					    <p class="help">{{ field.field.default_text|break_at:40}}</p>
+	        					    <p class="help">{{ field.field.default_text}}</p>
 	        					{% endif %}
 	        				</td>
 	        				<td>{{ field }}</td>