mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix clickable area when opening price breakdown
Once a price breakdown has been opened, the nub was over the bottom half of the pie button. It made half of the pie unclickable. And when you closed the breakdown, it became invisible but stayed present, absorbing all clicks in that area. So other pie buttons were unclickable as well.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.joyride-tip-guide.price_breakdown{"ng-class" => "{ in: tt_isOpen, fade: tt_animation }"}
|
||||
.joyride-tip-guide.price_breakdown{ng: {class: "{ in: tt_isOpen, fade: tt_animation }", show: "tt_isOpen"}}
|
||||
%span.joyride-nub.top
|
||||
.background{ng: {show: "tt_isOpen", click: "tt_isOpen = false"}}
|
||||
.background{ng: {click: "tt_isOpen = false"}}
|
||||
.joyride-content-wrapper
|
||||
%ul
|
||||
%li
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
.joyride-nub.top {
|
||||
left: 7.4rem;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.background {
|
||||
|
||||
Reference in New Issue
Block a user