I've looked for the reasoning behind adding border-color: transparent to the :hover and :focus states of .btn-link
|
@include hover { |
|
color: $link-hover-color; |
|
text-decoration: $link-hover-decoration; |
|
background-color: transparent; |
|
border-color: transparent; |
|
} |
|
|
|
&:focus, |
|
&.focus { |
|
text-decoration: $link-hover-decoration; |
|
border-color: transparent; |
|
box-shadow: none; |
|
} |
but cannot find the reason for this. I came across this when trying to utilize some custom border styles on .btn-link and had the borders turn transparent on hover because of this.
Blame points to the change being introduced in #22951, but it isn't obvious to me the reasoning behind this rule. I propose removing it.
I've looked for the reasoning behind adding border-color: transparent to the :hover and :focus states of .btn-link
bootstrap/scss/_buttons.scss
Lines 80 to 92 in b755883
but cannot find the reason for this. I came across this when trying to utilize some custom border styles on .btn-link and had the borders turn transparent on hover because of this.
Blame points to the change being introduced in #22951, but it isn't obvious to me the reasoning behind this rule. I propose removing it.