mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-21 21:17:20 +00:00
Use l-box instead of margin
This commit is contained in:
parent
052fa400a2
commit
d7168815aa
@ -7,7 +7,7 @@
|
||||
<% slice.each do |video| %>
|
||||
<% player_response = JSON.parse(video.info["player_response"]) %>
|
||||
<div class="pure-u-1 pure-u-md-1-4">
|
||||
<div style="margin:1em;">
|
||||
<div class="l-box">
|
||||
<a style="width:100%;" href="/watch?v=<%= video.id %>">
|
||||
<img style="width:100%;" src="<%= player_response["videoDetails"]["thumbnail"]["thumbnails"][0]["url"] %>"/>
|
||||
<p><%= video.title %></p>
|
||||
|
@ -26,7 +26,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<%= content %>
|
||||
<center style="margin:1em;">
|
||||
<center class="l-box">
|
||||
Released under AGPLv3 by <a href="https://github.com/omarroth">Omar Roth</a> -
|
||||
source available <a href="https://github.com/omarroth/invidious">here</a>
|
||||
</center>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<div class="pure-g">
|
||||
<% slice.each do |video| %>
|
||||
<div class="pure-u-1 pure-u-md-1-4">
|
||||
<div style="margin:1em;">
|
||||
<div class="l-box">
|
||||
<a style="width:100%;" href="<%= video["link"] %>">
|
||||
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
|
||||
<%= video["title"] %>
|
||||
|
Loading…
Reference in New Issue
Block a user