added scroll to tags in mobile and fixed date of a new
This commit is contained in:
parent
3d8465fbf2
commit
0564010a7f
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
locale: es
|
locale: es
|
||||||
title: 'Desde México: el Dr. Pérez Matos reafirma su compromiso global con Israel y su proyección en 2025'
|
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
|
date: 2025-01-13
|
||||||
slug: 2025-01-05-desde-mexico-el-dr-perez-matos-reafirma-su-compromiso-global-con-israel-y-su-proyeccion-en-2025
|
slug: 2025-01-13-desde-mexico-el-dr-perez-matos-reafirma-su-compromiso-global-con-israel-y-su-proyeccion-en-2025
|
||||||
place: ''
|
place: ''
|
||||||
thumbnail: 'https://ik.imagekit.io/crpy/tr:w-1280/comunicado-1.webp'
|
thumbnail: 'https://ik.imagekit.io/crpy/tr:w-1280/comunicado-1.webp'
|
||||||
tags: [México]
|
tags: [México]
|
||||||
|
|
|
||||||
|
|
@ -41,12 +41,12 @@ const allTags = [...new Set(
|
||||||
|
|
||||||
{allTags.length > 0 && (
|
{allTags.length > 0 && (
|
||||||
<div class="container mx-auto mb-8">
|
<div class="container mx-auto mb-8">
|
||||||
<div class="flex flex-wrap gap-2 justify-center">
|
<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" data-tag="all">
|
<button class="filter-btn px-4 py-2 font-primary text-sm cursor-pointer transition-colors whitespace-nowrap" data-tag="all">
|
||||||
{tl("news.all")}
|
{tl("news.all")}
|
||||||
</button>
|
</button>
|
||||||
{allTags.map((tag) => (
|
{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}
|
{tag}
|
||||||
</button>
|
</button>
|
||||||
))}
|
))}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue