mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-28 12:09:41 +00:00
website: fix layout
This commit is contained in:
+2
-2
@@ -2287,7 +2287,7 @@ This Taiwanese article introduces SimpleX as a privacy-focused messaging app lau
|
||||
|
||||
Image: free-com-tw-simplex.jpg
|
||||
|
||||
Language: Traditional Chinese
|
||||
Language: Chinese (Tr.)
|
||||
|
||||
Date: Mar 26, 2025
|
||||
|
||||
@@ -2303,7 +2303,7 @@ This Chinese comparison of secure messaging platforms gives SimpleX the most fav
|
||||
|
||||
Image: futa-gg-simplex-comparison.jpg
|
||||
|
||||
Language: Traditional Chinese
|
||||
Language: Chinese (Tr.)
|
||||
|
||||
Date: 2024
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
var ITEMS_PER_PAGE = 20
|
||||
var ITEMS_PER_PAGE = 10
|
||||
var allItems = Array.from(document.querySelectorAll("#links-list .link-item"))
|
||||
var filteredItems = allItems.slice()
|
||||
var currentPage = 1
|
||||
|
||||
@@ -257,7 +257,7 @@ active_links: true
|
||||
{% for item in links %}
|
||||
<article
|
||||
class="link-item w-full flex flex-col items-start md:flex-row rounded-[4px] overflow-hidden shadow-[0px_20px_30px_rgba(0,0,0,0.12)] dark:shadow-none bg-white dark:bg-[#0B2A59] mb-8"
|
||||
{% if loop.index0 >= 20 %}style="display:none"{% endif %}
|
||||
{% if loop.index0 >= 10 %}style="display:none"{% endif %}
|
||||
id="{{ item.id }}"
|
||||
data-lang="{{ item.language }}"
|
||||
data-category="{{ item.category | lower }}"
|
||||
@@ -266,7 +266,7 @@ active_links: true
|
||||
{% if item.featured %}data-featured{% endif %}>
|
||||
{% if item.image and item.imageExists %}
|
||||
<div class="min-h-[160px] h-[inherit] self-stretch md:w-[168px] bg-[#DBEEFF] dark:bg-[#071C46] flex items-center justify-center flex-[1] relative overflow-hidden">
|
||||
<img class="w-full h-full object-cover" src="/links/images/{{ item.image }}" alt="" loading="lazy" />
|
||||
<img class="w-full h-auto object-contain" src="/links/images/{{ item.image }}" alt="" loading="lazy" />
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="min-h-[160px] h-[inherit] self-stretch md:w-[168px] bg-[#DBEEFF] dark:bg-[#071C46] flex items-center justify-center flex-[1] relative">
|
||||
|
||||
Reference in New Issue
Block a user