From b0141620887d1e13e587c80ef7adfa1c5301c721 Mon Sep 17 00:00:00 2001 From: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:36:46 +0200 Subject: [PATCH] refactor(web): add tailwind plugin for repeating grid cols (#11748) --- web/eslint.config.mjs | 2 +- .../album-page/album-card-group.svelte | 2 +- .../search-bar/search-camera-section.svelte | 2 +- .../search-bar/search-date-section.svelte | 2 +- .../search-bar/search-location-section.svelte | 2 +- .../search-bar/search-people-section.svelte | 2 +- web/src/routes/(user)/explore/+page.svelte | 10 ++-------- ...tailwind.config.cjs => tailwind.config.js} | 19 ++++++++++++++++++- 8 files changed, 26 insertions(+), 15 deletions(-) rename web/{tailwind.config.cjs => tailwind.config.js} (74%) diff --git a/web/eslint.config.mjs b/web/eslint.config.mjs index e7ce7e1388..f4aec0e728 100644 --- a/web/eslint.config.mjs +++ b/web/eslint.config.mjs @@ -32,7 +32,7 @@ export default [ '**/svelte.config.js', 'eslint.config.mjs', 'postcss.config.cjs', - 'tailwind.config.cjs', + 'tailwind.config.js', ], }, ...compat.extends( diff --git a/web/src/lib/components/album-page/album-card-group.svelte b/web/src/lib/components/album-page/album-card-group.svelte index 0e731a683c..f899cebd8c 100644 --- a/web/src/lib/components/album-page/album-card-group.svelte +++ b/web/src/lib/components/album-page/album-card-group.svelte @@ -50,7 +50,7 @@
{#if !isCollapsed} -
+
{#each albums as album, index (album.id)}

{$t('camera').toUpperCase()}

-