From f4f275def771d4561153f5843a9b365f5161398c Mon Sep 17 00:00:00 2001 From: Joe Cowton <77005274+joecowton1@users.noreply.github.com> Date: Wed, 24 Jan 2024 10:48:55 +0000 Subject: [PATCH] fix footer backToTop icon (#1095) * Fix backToTop icon --- .changeset/friendly-games-beam.md | 5 +++++ libs/@guardian/source-react-components/src/footer/styles.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/friendly-games-beam.md diff --git a/.changeset/friendly-games-beam.md b/.changeset/friendly-games-beam.md new file mode 100644 index 000000000..0dc07314a --- /dev/null +++ b/.changeset/friendly-games-beam.md @@ -0,0 +1,5 @@ +--- +'@guardian/source-react-components': patch +--- + +Fix footer backToTop icon diff --git a/libs/@guardian/source-react-components/src/footer/styles.ts b/libs/@guardian/source-react-components/src/footer/styles.ts index 969e96347..8ce0c6bde 100644 --- a/libs/@guardian/source-react-components/src/footer/styles.ts +++ b/libs/@guardian/source-react-components/src/footer/styles.ts @@ -84,6 +84,7 @@ export const backToTop = ( color: ${footer.anchor}; background-color: ${footer.background}; text-decoration: none; + white-space: nowrap; & :hover { color: ${footer.anchorHover};