diff --git a/package.json b/package.json index f27010d..f95be6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ztimson/css-utils", - "version": "1.1.3", + "version": "1.1.4", "description": "CSS Utility Classes", "readme": "README.md", "scripts": { diff --git a/src/main.scss b/src/main.scss index ce782be..fff4909 100644 --- a/src/main.scss +++ b/src/main.scss @@ -50,8 +50,8 @@ $divisible: (0, 10, 20, 25, 30, 33, 34, 40, 50, 60, 66, 70, 75, 80, 90, 100); .fix-anchor, .fix:not(.no-anchor-fix) { a, a:not([href]) { color: var(--theme-primary); - &:not(:hover) { text-decoration: none; } - &:hover { text-decoration: underline; } + &:not(:hover):not(:focus) { text-decoration: none; } + &:hover, &:focus { text-decoration: underline; } cursor: pointer; } }