Skip to content

Commit

Permalink
Merge pull request #30 from mediamonks/feature/add-additional-mediaqu…
Browse files Browse the repository at this point in the history
…ery-hover

Adjust hover mixin name
  • Loading branch information
tworrisb authored Nov 8, 2023
2 parents a8a463f + 6f1659b commit 7c7239f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/mixin/_hover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @param $extraSelector:string (optional) = an extra selector that can have the same styles as a hover (for mobile/active state)
* @param $extraMediaQuery:string (optional) = an extra media query selector that can for example prevent issues on Samsung devices ( https://www.ctrl.blog/entry/css-media-hover-samsung.html )
*/
@mixin hoverAdjusted($extraSelector: null, $extraMediaQuery: $extraHoverMediaQuerySelector) {
@mixin hover($extraSelector: null, $extraMediaQuery: $extraHoverMediaQuerySelector) {
@if $extraMediaQuery {
@media (hover: hover) and #{$extraMediaQuery} {
&:hover {
Expand Down

0 comments on commit 7c7239f

Please sign in to comment.