We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2865a8 commit 65cb869Copy full SHA for 65cb869
src/stories/Library/Arrows/arrows.scss
@@ -47,21 +47,24 @@
47
/* stylelint-disable plugin/stylelint-bem-namics */
48
@mixin arrow($className) {
49
// Hide arrow
50
- .#{$className} {
+ .#{$className} > {
51
svg {
52
width: 35px;
53
visibility: hidden;
54
opacity: 0;
55
margin-right: 20px;
56
}
57
-
58
- // Show arrow on hover
59
- &:hover svg {
60
- @include breakpoint-s {
61
- visibility: visible;
62
- opacity: 1;
63
- align-self: center;
64
- justify-self: end;
+ }
+ // Show arrow on hover
+ .#{$className} {
+ &:hover {
+ svg {
+ @include breakpoint-s {
+ visibility: visible;
+ opacity: 1;
65
+ align-self: center;
66
+ justify-self: end;
67
68
69
70
0 commit comments