Skip to content

Commit

Permalink
Add work-break css class (closes #500)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNaessens committed Mar 24, 2015
1 parent 9106cf7 commit aeeb096
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/assets/stylesheets/application.css
Expand Up @@ -24,7 +24,12 @@ footer {
text-align: center;
}

/* All round utility classes */
.nowrap {
white-space: nowrap;
}

.word-break {
table-layout: fixed;
word-wrap: break-word;
}
2 changes: 1 addition & 1 deletion app/views/events/show.html.erb
Expand Up @@ -3,7 +3,7 @@
<div class="row">
<div class="col-sm-7">
<h3>Description</h3>
<table class="table">
<table class="table word-break">
<tr>
<th>Organisation</th>
<td><%= @event.club.name %></td>
Expand Down

0 comments on commit aeeb096

Please sign in to comment.