Skip to content

Commit

Permalink
fix: add hover to mixin main file
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-berlin committed Aug 20, 2022
1 parent e819aa3 commit 1fd839e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion mixins.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@forward './mixins/basic';
@forward './mixins/font';
@forward './mixins/breakpoint';
@forward './mixins/element';
@forward './mixins/feature';
@forward './mixins/font';
@forward './mixins/hover';
12 changes: 6 additions & 6 deletions mixins/_hover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
/// }
///
@mixin hover {
@media (hover: hover) {
&:hover {
@content;
}
}
}
@media (hover: hover) {
&:hover {
@content;
}
}
}

0 comments on commit 1fd839e

Please sign in to comment.