Remove inline CSS from <hr>

This commit is contained in:
Omar Roth 2018-08-05 18:03:38 -05:00
parent aed8aa4037
commit 0f8e01f919
4 changed files with 12 additions and 10 deletions

View File

@ -2,4 +2,6 @@
<title><%= "Error" %> - Invidious</title>
<% end %>
<div class="h-box">
<%= error_message %>
</div>

View File

@ -27,6 +27,6 @@
</h3>
<% if subscriptions[-1].author != channel.author %>
<hr style="margin-left:1em; margin-right:1em;">
<hr>
<% end %>
<% end %>

View File

@ -15,18 +15,18 @@
</div>
</div>
<% if !notifications.empty? %>
<div class="h-box">
<% if notifications.empty? %>
<center><%= notifications.size %> unseen notifications</center>
<% else %>
<% notifications.each_slice(4) do |slice| %>
<div class="pure-g">
<% slice.each do |video| %>
<%= rendered "components/video" %>
<% end %>
<% end %>
<% end %>
<hr>
</div>
<% end %>
<% else %>
<center><%= notifications.size %> unseen notifications</center>
<% end %>
<hr style="margin-left:1em; margin-right:1em;">
<% videos.each_slice(4) do |slice| %>
<div class="pure-g">

View File

@ -259,7 +259,7 @@ function get_reddit_comments() {
</div>
<div>{content_html}</div>
<hr style="margin-left:1em; margin-right:1em;">`.supplant({
<hr>`.supplant({
title: xhr.response.title,
permalink: xhr.response.permalink,
content_html: xhr.response.content_html
@ -293,7 +293,7 @@ function get_youtube_comments() {
</h3>
</div>
<div>{content_html}</div>
<hr style="margin-left:1em; margin-right:1em;">`.supplant({
<hr>`.supplant({
content_html: xhr.response.content_html
});
} else {
@ -396,7 +396,7 @@ get_youtube_comments();
<div>
<%= video.description %>
</div>
<hr style="margin-left:1em; margin-right:1em;">
<hr>
<div id="comments">
<h3><center class="loading"><i class="icon ion-ios-refresh"></i></center></h3>
</div>