mirror of
https://github.com/we-promise/sure.git
synced 2026-04-16 18:44:13 +00:00
Provider merchants enhancement (#1254)
* Add AI merchant enhancement and dedup * Enhancements Add error if job is already running add note that we also merge merchants * Allow updating provider website * Review fixes * Update provider_merchant.rb * Linter and fixes * FIX transaction quick menu modal
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import {
|
||||
autoUpdate,
|
||||
computePosition,
|
||||
flip,
|
||||
offset,
|
||||
shift,
|
||||
} from "@floating-ui/dom";
|
||||
@@ -110,7 +111,7 @@ export default class extends Controller {
|
||||
|
||||
computePosition(this.buttonTarget, this.contentTarget, {
|
||||
placement: useMobileFullwidth ? "bottom" : this.placementValue,
|
||||
middleware: [offset(this.offsetValue), shift({ padding: 5 })],
|
||||
middleware: [offset(this.offsetValue), flip({ padding: 5 }), shift({ padding: 5 })],
|
||||
strategy: "fixed",
|
||||
}).then(({ x, y }) => {
|
||||
if (useMobileFullwidth) {
|
||||
|
||||
Reference in New Issue
Block a user