mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Close price breakdown on click outside
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
.joyride-tip-guide.price_breakdown{"ng-class" => "{ in: tt_isOpen, fade: tt_animation }"}
|
||||
%span.joyride-nub.top
|
||||
.background{ng: {show: "tt_isOpen", click: "tt_isOpen = false"}}
|
||||
.joyride-content-wrapper
|
||||
%ul
|
||||
%li
|
||||
|
||||
@@ -27,6 +27,16 @@
|
||||
left: 7.4rem;
|
||||
}
|
||||
|
||||
.background {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
ul, li {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user