From 6221fa82e41915702d8139cade5c25e9d61e619f Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 2 Oct 2023 17:39:16 +0200 Subject: refactor(components): remove Column and NoScript from atoms * Column is a simple div meant to be used inside Columns component so they should live together. * NoScript is only used in Layout component and its name does not make sense since it needs to be used inside a `noscript` element. --- src/components/templates/layout/layout.module.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/components/templates/layout/layout.module.scss') diff --git a/src/components/templates/layout/layout.module.scss b/src/components/templates/layout/layout.module.scss index 5b89341..d86340f 100644 --- a/src/components/templates/layout/layout.module.scss +++ b/src/components/templates/layout/layout.module.scss @@ -41,6 +41,21 @@ } } +.noscript { + padding: var(--spacing-xs) var(--spacing-sm); + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 10; + background: var(--color-bg); + border-bottom: fun.convert-px(3) solid var(--color-border); + color: var(--color-primary-darker); + font-size: var(--font-size-sm); + font-weight: 600; + text-align: center; +} + .noscript-spacing { width: 100%; height: fun.convert-px(75); -- cgit v1.2.3