flex wrap fix

This commit is contained in:
Cory Dransfeldt 2023-03-19 20:51:03 -07:00
parent 655bfe95bc
commit 4444cc4a7a
No known key found for this signature in database

View file

@ -4,7 +4,7 @@
{% if mentions['repost-of'].size > 0 %} {% if mentions['repost-of'].size > 0 %}
<h2 class="text-lg md:text-xl font-black leading-tight dark:text-gray-200">Reposts</h2> <h2 class="text-lg md:text-xl font-black leading-tight dark:text-gray-200">Reposts</h2>
<div class="flex flex-row items-center mt-4 mb-6"> <div class="flex flex-row items-center mt-4 mb-6">
<ul class="ml-3 flex flex-row"> <ul class="ml-3 flex flex-row flex-wrap">
{% for mention in mentions['repost-of'] %} {% for mention in mentions['repost-of'] %}
<li class="-ml-3 inline"> <li class="-ml-3 inline">
<a href={{mention.url}}> <a href={{mention.url}}>
@ -23,7 +23,7 @@
{% if mentions['like-of'].size > 0 %} {% if mentions['like-of'].size > 0 %}
<h2 class="text-lg md:text-xl font-black leading-tight dark:text-gray-200">Likes</h2> <h2 class="text-lg md:text-xl font-black leading-tight dark:text-gray-200">Likes</h2>
<div class="flex flex-row items-center mt-4 mb-6"> <div class="flex flex-row items-center mt-4 mb-6">
<ul class="ml-3 flex flex-row"> <ul class="ml-3 flex flex-row flex-wrap">
{% for mention in mentions['like-of'] %} {% for mention in mentions['like-of'] %}
<li class="-ml-3 inline"> <li class="-ml-3 inline">
<a href={{mention.url}}> <a href={{mention.url}}>