From 5d5e2f8aa5c4030c33bf06f2cb817b9d770cc884 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> Date: Thu, 21 Dec 2023 21:21:30 +0000 Subject: Improve CSS reset (#51) * Font size inflation * Removes main adjustment for IE * Documents hr corrections * Documents pre corrections * Documents abbr[title] corrections * Documents b, strong corrections * Squishes pre rule with code,kbd,samp * Documents sub,sub line-height fix * Removes IE fix for img borders * Documents form control resets * Documents details display:block * Documents summary correction * Removes [hidden] fix for IE * Adds border-box sizing rules * Refactors links --- src/components/LallansIssuesGallery.astro | 2 +- src/components/Link.astro | 9 --------- src/components/Navbar/Breadcrumbs.astro | 4 +--- src/components/ScotsounCdGallery.astro | 2 +- src/components/SwitchLanguageLink.astro | 2 +- 5 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 src/components/Link.astro (limited to 'src/components') diff --git a/src/components/LallansIssuesGallery.astro b/src/components/LallansIssuesGallery.astro index fd0ad0a..3e79de9 100644 --- a/src/components/LallansIssuesGallery.astro +++ b/src/components/LallansIssuesGallery.astro @@ -17,7 +17,7 @@ function issueNumberDescending(issue1: LallansIssue, issue2: LallansIssue) { issues.map(async (issue) => (
  • diff --git a/src/components/Link.astro b/src/components/Link.astro deleted file mode 100644 index 365441e..0000000 --- a/src/components/Link.astro +++ /dev/null @@ -1,9 +0,0 @@ ---- -interface Props { - href: string; -} - -const { href } = Astro.props; ---- - - diff --git a/src/components/Navbar/Breadcrumbs.astro b/src/components/Navbar/Breadcrumbs.astro index 1e82fd9..f949873 100644 --- a/src/components/Navbar/Breadcrumbs.astro +++ b/src/components/Navbar/Breadcrumbs.astro @@ -23,9 +23,7 @@ const t = translate(locale); parentRoutes.map((route) => { return (
  • - - {t(tBreadcrumbs, { key: route })} - + {t(tBreadcrumbs, { key: route })}
  • ); }) diff --git a/src/components/ScotsounCdGallery.astro b/src/components/ScotsounCdGallery.astro index d2c7e0b..3908f4d 100644 --- a/src/components/ScotsounCdGallery.astro +++ b/src/components/ScotsounCdGallery.astro @@ -17,7 +17,7 @@ function scotsounIdDescending(scotsoun1: Scotsoun, scotsoun2: Scotsoun) { scotsoun.map((scotsounItem) => (
  • diff --git a/src/components/SwitchLanguageLink.astro b/src/components/SwitchLanguageLink.astro index fce633f..abbf0cb 100644 --- a/src/components/SwitchLanguageLink.astro +++ b/src/components/SwitchLanguageLink.astro @@ -20,7 +20,7 @@ const otherLocalePath = currentPath const t = translate(otherLocale); --- - + { t(tPage, { key: 'language-link-text', -- cgit v1.2.3