adapt search width with grid_items

This commit is contained in:
simon 2022-05-30 14:52:47 +07:00
parent 25e2bdb0b7
commit a9b8d34b5a
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -1,7 +1,7 @@
{% extends "home/base.html" %} {% extends "home/base.html" %}
{% block content %} {% block content %}
<div id="player" class="player-wrapper"></div> <div id="player" class="player-wrapper"></div>
<div class="boxed-content"> <div class="boxed-content {% if all_styles.home == "grid" %}boxed-{{ grid_items }}{% endif %}">
<div class="title-bar"> <div class="title-bar">
<h1>Search your Archive</h1> <h1>Search your Archive</h1>
</div> </div>
@ -10,7 +10,7 @@
</div> </div>
<div class="multi-search-result"> <div class="multi-search-result">
<h2>Video Results</h2> <h2>Video Results</h2>
<div id="video-results" class="video-list {{ all_styles.home }}"> <div id="video-results" class="video-list {{ all_styles.home }} {% if all_styles.home == "grid" %}grid-{{ grid_items }}{% endif %}">
<p>No videos found.</p> <p>No videos found.</p>
</div> </div>
</div> </div>