Skip to content

Commit

Permalink
fix: add inline-block and transition
Browse files Browse the repository at this point in the history
  • Loading branch information
yolophg committed Jul 17, 2024
1 parent dfbfb89 commit b17bf26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/step.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ class StepTextLink extends BaseStepElement {
createCss() {
return css`
a {
display: inline-block;
text-decoration: underline;
text-underline-offset: 3px;
}
Expand All @@ -172,8 +173,8 @@ class StepTextLink extends BaseStepElement {
}
a:hover {
font-weight: var(--font-weight-bold);
/* TODO : update underline weight after checking accurate value with the Designer */
text-decoration: underline 3px;
transition: 200ms;
}
a:active {
color: var(--primary);
Expand Down

0 comments on commit b17bf26

Please sign in to comment.