fix class
This commit is contained in:
200639
fet2020/static/styles.css
200639
fet2020/static/styles.css
File diff suppressed because it is too large
Load Diff
@@ -316,11 +316,11 @@
|
||||
<div class="flex justify-evenly flex-wrap gap-4">
|
||||
{% for post in related_posts %}
|
||||
{% if forloop.counter0 == 2 %}
|
||||
<a href="{{ post.get_absolute_url }}" class="sm:flex-1 hidden lg:block block rounded-md bg-white dark:bg-gray-500 shadow-md bg-no-repeat bg-center aspect-video transition-all ease-in-out duration-500 bg-scale-100 hover:bg-scale-120" style="background-image: url('{{ post.imageurl }}');">
|
||||
<a href="{{ post.get_absolute_url }}" class="sm:flex-1 hidden lg:block rounded-md bg-white dark:bg-gray-500 shadow-md bg-no-repeat bg-center aspect-video transition-all ease-in-out duration-500 bg-scale-100 hover:bg-scale-120" style="background-image: url('{{ post.imageurl }}');">
|
||||
{% include 'posts/partials/_posts_related.html' %}
|
||||
</a>
|
||||
{% elif forloop.last %}
|
||||
<a href="{{ post.get_absolute_url }}" class="sm:flex-1 hidden 2xl:block block rounded-md bg-white dark:bg-gray-500 shadow-md bg-no-repeat bg-center aspect-video transition-all ease-in-out duration-500 bg-scale-100 hover:bg-scale-120" style="background-image: url('{{ post.imageurl }}');">
|
||||
<a href="{{ post.get_absolute_url }}" class="sm:flex-1 hidden 2xl:block rounded-md bg-white dark:bg-gray-500 shadow-md bg-no-repeat bg-center aspect-video transition-all ease-in-out duration-500 bg-scale-100 hover:bg-scale-120" style="background-image: url('{{ post.imageurl }}');">
|
||||
{% include 'posts/partials/_posts_related.html' %}
|
||||
</a>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user