From a9b772b823f9b5ea6cbb79972c53d9de3ddd6e5e Mon Sep 17 00:00:00 2001 From: Remko Date: Tue, 13 Feb 2024 10:01:24 +0100 Subject: [PATCH] Fixed minor css parse errors --- README.md | 2 +- package.json | 2 +- src/components/container/Container.module.css | 2 +- src/components/topNav/primaryTopNav/PrimaryTopNav.module.css | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a1a1b8f..1608425 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ - **Version 2.2 (breaking changes from 2.1.x)** - - 2.2.46: Fixed minor css parse error. + - 2.2.46 / 2.2.47: Fixed minor css parse error. - 2.2.45: Updated Pagination and select to ensure more WCAG compliancy. - 2.2.44: Updated PrimaryTopNav to allow font-weight. - 2.2.43: Updated DownloadCard to allow size as string. diff --git a/package.json b/package.json index 6c1c246..50fa2a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@conduction/components", - "version": "2.2.46", + "version": "2.2.47", "description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)", "main": "lib/index.js", "scripts": { diff --git a/src/components/container/Container.module.css b/src/components/container/Container.module.css index 73ff277..1e0ba0d 100644 --- a/src/components/container/Container.module.css +++ b/src/components/container/Container.module.css @@ -7,6 +7,6 @@ width: 100%; margin-inline: auto; box-sizing: border-box; - padding-inline: var(--conduction-container-padding-inline); + padding-inline: var(--conduction-container-padding-inline, unset); max-width: var(--conduction-container-max-width); } diff --git a/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css b/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css index c58947c..17f1abd 100644 --- a/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css +++ b/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css @@ -149,7 +149,7 @@ display: block; overflow: hidden; max-width: 100%; - white-space: wrap; + white-space: nowrap; } .primary .link:not(.currentLink) {