diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-21 20:30:19 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-21 20:31:47 +0100 |
| commit | a17d8c4b6f7ed96d52d0c9155c809786a2e66c7a (patch) | |
| tree | 39e2fda17bca797b2e9914d6b8108423aab6e799 /src/components | |
| parent | 4d323cb967b75b245d91e2d1984cee71250f47b7 (diff) | |
Better link gallery layout
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/LallansIssuesGallery.astro | 6 | ||||
| -rw-r--r-- | src/components/ScotsounCdGallery.astro | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/components/LallansIssuesGallery.astro b/src/components/LallansIssuesGallery.astro index 9ade033..b826525 100644 --- a/src/components/LallansIssuesGallery.astro +++ b/src/components/LallansIssuesGallery.astro @@ -11,7 +11,7 @@ function issueNumberDescending(issue1: LallansIssue, issue2: LallansIssue) { } --- -<ul class="link-gallery link-gallery--lallans"> +<ul class="link-gallery"> { issues.map((issue) => ( <li> @@ -19,9 +19,7 @@ function issueNumberDescending(issue1: LallansIssue, issue2: LallansIssue) { class="link link-gallery__container" href={`/${locale}/furthsettins/lallans/${issue.issueNumber}`} > - <div class="link-gallery__image"> - <img src={`/images/lallans/issue${issue.issueNumber}.jpg`} /> - </div> + <img src={`/images/lallans/issue${issue.issueNumber}.jpg`} /> <p class="link-gallery__title"> Lallans {issue.issueNumber} | {issue.issueName} </p> diff --git a/src/components/ScotsounCdGallery.astro b/src/components/ScotsounCdGallery.astro index 8ae2b22..40940a1 100644 --- a/src/components/ScotsounCdGallery.astro +++ b/src/components/ScotsounCdGallery.astro @@ -11,7 +11,7 @@ function scotsounIdDescending(scotsoun1: Scotsoun, scotsoun2: Scotsoun) { } --- -<ul class="link-gallery link-gallery--scotsoun"> +<ul class="link-gallery"> { scotsoun.map((scotsounItem) => ( <li> @@ -19,9 +19,7 @@ function scotsounIdDescending(scotsoun1: Scotsoun, scotsoun2: Scotsoun) { class="link link-gallery__container" href={`/${locale}/furthsettins/scotsoun/${scotsounItem.scotsounId}`} > - <div class="link-gallery__image"> - <img src={`/images/scotsoun/sscd${scotsounItem.scotsounId}.jpg`} /> - </div> + <img src={`/images/scotsoun/sscd${scotsounItem.scotsounId}.jpg`} /> <p class="link-gallery__title">{scotsounItem.title}</p> </a> </li> |
