Skip to content

Commit

Permalink
external link hover/focus style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aotearoan committed Nov 6, 2020
1 parent 3495b06 commit 4fe8996
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aotearoan/neon",
"description": "Neon is a lightweight design library of VueJS components with minimal dependencies. It supports light and dark modes and can be extended to support multiple themes",
"version": "3.1.2",
"version": "3.1.3",
"main": "dist/@aotearoan/neon.umd.js",
"types": "dist/@aotearoan/components.d.ts",
"files": [
Expand Down
13 changes: 13 additions & 0 deletions src/sass/_link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,17 @@ a[href]:not(.neon-link--no-style),
opacity: 1;
}
}

&.neon-link--outline-text.neon-link--external-link {
&:after {
width: calc(100% - #{6 * $base-space});
}

&:hover,
&:focus {
&:after {
width: calc(100% - #{6 * $base-space});
}
}
}
}

0 comments on commit 4fe8996

Please sign in to comment.