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> <title><%= "Error" %> - Invidious</title>
<% end %> <% end %>
<div class="h-box">
<%= error_message %> <%= error_message %>
</div>

View File

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

View File

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

View File

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