Remove inline CSS from <hr>
This commit is contained in:
parent
aed8aa4037
commit
0f8e01f919
|
@ -2,4 +2,6 @@
|
|||
<title><%= "Error" %> - Invidious</title>
|
||||
<% end %>
|
||||
|
||||
<div class="h-box">
|
||||
<%= error_message %>
|
||||
</div>
|
|
@ -27,6 +27,6 @@
|
|||
</h3>
|
||||
|
||||
<% if subscriptions[-1].author != channel.author %>
|
||||
<hr style="margin-left:1em; margin-right:1em;">
|
||||
<hr>
|
||||
<% end %>
|
||||
<% end %>
|
|
@ -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 %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<center><%= notifications.size %> unseen notifications</center>
|
||||
<% end %>
|
||||
<hr style="margin-left:1em; margin-right:1em;">
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<% videos.each_slice(4) do |slice| %>
|
||||
<div class="pure-g">
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue