diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/views/index.ecr | 2 | ||||
| -rw-r--r-- | src/views/search.ecr | 2 | ||||
| -rw-r--r-- | src/views/subscriptions.ecr | 2 | ||||
| -rw-r--r-- | src/views/watch.ecr | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/views/index.ecr b/src/views/index.ecr index 9d841a20..363ef9cd 100644 --- a/src/views/index.ecr +++ b/src/views/index.ecr @@ -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> diff --git a/src/views/search.ecr b/src/views/search.ecr index df44c253..1fa297ab 100644 --- a/src/views/search.ecr +++ b/src/views/search.ecr @@ -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> diff --git a/src/views/subscriptions.ecr b/src/views/subscriptions.ecr index a68db6c0..98e6a18c 100644 --- a/src/views/subscriptions.ecr +++ b/src/views/subscriptions.ecr @@ -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 style="height:100%"><%= video.title %></p> diff --git a/src/views/watch.ecr b/src/views/watch.ecr index e2b9b344..653d7cfb 100644 --- a/src/views/watch.ecr +++ b/src/views/watch.ecr @@ -132,7 +132,7 @@ player.src(currentSources); <div class="pure-g"> <div class="pure-u-1 pure-u-md-1-5"> - <div style="overflow-wrap:break-word; word-wrap:break-word;" class="h-box"> + <div class="h-box"> <p><i class="fa fa-eye" aria-hidden="true"></i> <%= number_with_separator(video.views) %></p> <p><i class="fa fa-thumbs-up" aria-hidden="true"></i> <%= number_with_separator(video.likes) %></p> <p><i class="fa fa-thumbs-down" aria-hidden="true"></i> <%= number_with_separator(video.dislikes) %></p> @@ -153,7 +153,7 @@ player.src(currentSources); </div> <div class="pure-u-1 pure-u-md-3-5"> - <div style="overflow-wrap:break-word; word-wrap:break-word;" class="h-box"> + <div class="h-box"> <p> <a href="https://youtube.com/channel/<%= video.info["ucid"] %>"> <h3><%= video.info["author"] %></h3> @@ -177,7 +177,7 @@ player.src(currentSources); <p> <b>Shared <%= video.published.to_s("%B %-d, %Y") %></b> </p> - <div style="overflow-wrap:break-word; word-wrap:break-word;"> + <div> <%= video.description %> </div> <hr style="margin-left:1em; margin-right:1em;"> @@ -202,7 +202,7 @@ player.src(currentSources); </div> <div class="pure-u-1 pure-u-md-1-5"> - <div style="overflow-wrap:break-word; word-wrap:break-word;" class="h-box"> + <div class="h-box"> <% rvs.each do |rv| %> <% if rv.has_key?("id") %> <a href="/watch?v=<%= rv["id"] %>"> |
