From 94802e4286dd3594fd8c9ae579b18744c42c7a19 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 30 Jun 2021 08:00:00 +0100 Subject: [PATCH] Hide visually hidden elements with Drupal markup --- assets/css/components.pcss | 3 +++ assets/css/tailwind.pcss | 1 + 2 files changed, 4 insertions(+) diff --git a/assets/css/components.pcss b/assets/css/components.pcss index e69de29b..13b1b0bd 100644 --- a/assets/css/components.pcss +++ b/assets/css/components.pcss @@ -0,0 +1,3 @@ +.visually-hidden { + @apply sr-only; +} diff --git a/assets/css/tailwind.pcss b/assets/css/tailwind.pcss index fa7e6b95..b86ea0c9 100644 --- a/assets/css/tailwind.pcss +++ b/assets/css/tailwind.pcss @@ -3,3 +3,4 @@ @import 'tailwindcss/utilities'; @import './base.pcss'; +@import './components.pcss';