From 33ad4308c98a37e52bb1245601ea7bf5af23f5fc Mon Sep 17 00:00:00 2001 From: JoelCDL Date: Thu, 19 Dec 2024 10:14:59 -0800 Subject: [PATCH] Underline button label upon button focus or hover --- css/base.css | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/css/base.css b/css/base.css index 247c1e6..fbadbfe 100644 --- a/css/base.css +++ b/css/base.css @@ -70,6 +70,11 @@ max-inline-size: 15rem; padding: 0.8rem; border-radius: 4px; + + &:focus, + &:hover { + text-decoration: underline; + } } /* Individual buttons */ diff --git a/package.json b/package.json index 1c840e3..a27dd36 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "klaro-ui", - "version": "1.0.0", + "version": "1.1.0", "description": "The Klaro consent manager custom UI for the California Digital Library", "scripts": { "start": "run-p parcel:dev watch:styles watch:js --silent",