Add word break for video titles

This commit is contained in:
Omar Roth
2018-03-16 22:18:55 -05:00
parent f0870e0cdd
commit 721851da81
3 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
<div class="pure-g">
<% slice.each do |video| %>
<div class="pure-u-1 pure-u-md-1-4">
<div class="h-box">
<div style="overflow-wrap:break-word; word-wrap:break-word;" class="h-box">
<a style="width:100%;" href="<%= video["link"] %>">
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
<%= video["title"] %>