Put word-wrap in default.css

This commit is contained in:
Omar Roth
2018-04-17 15:53:12 -05:00
parent 9180a19bf9
commit 7d3ecf7567
5 changed files with 12 additions and 7 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 style="overflow-wrap:break-word; word-wrap:break-word;" class="h-box">
<div class="h-box">
<a style="width:100%;" href="/watch?v=<%= video.id %>">
<img style="width:100%;" src="https://i.ytimg.com/vi/<%= video.id %>/mqdefault.jpg"/>
<p><%= video.title %></p>