added scroll to tags in mobile and fixed date of a new

This commit is contained in:
Esteban Paz 2026-04-23 21:09:58 -05:00
parent 3d8465fbf2
commit 0564010a7f
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
---
locale: es
title: 'Desde México: el Dr. Pérez Matos reafirma su compromiso global con Israel y su proyección en 2025'
date: 2025-01-05
slug: 2025-01-05-desde-mexico-el-dr-perez-matos-reafirma-su-compromiso-global-con-israel-y-su-proyeccion-en-2025
date: 2025-01-13
slug: 2025-01-13-desde-mexico-el-dr-perez-matos-reafirma-su-compromiso-global-con-israel-y-su-proyeccion-en-2025
place: ''
thumbnail: 'https://ik.imagekit.io/crpy/tr:w-1280/comunicado-1.webp'
tags: [México]

View File

@ -41,12 +41,12 @@ const allTags = [...new Set(
{allTags.length > 0 && (
<div class="container mx-auto mb-8">
<div class="flex flex-wrap gap-2 justify-center">
<button class="filter-btn px-4 py-2 font-primary text-sm cursor-pointer transition-colors" data-tag="all">
<div class="flex flex-nowrap md:flex-wrap gap-2 justify-center overflow-x-auto md:overflow-visible pb-2 md:pb-0">
<button class="filter-btn px-4 py-2 font-primary text-sm cursor-pointer transition-colors whitespace-nowrap" data-tag="all">
{tl("news.all")}
</button>
{allTags.map((tag) => (
<button class="filter-btn px-4 py-2 font-primary text-sm cursor-pointer transition-colors" data-tag={tag!}>
<button class="filter-btn px-4 py-2 font-primary text-sm cursor-pointer transition-colors whitespace-nowrap" data-tag={tag!}>
{tag}
</button>
))}