Skip to content

Commit

Permalink
Fix card order
Browse files Browse the repository at this point in the history
  • Loading branch information
TsayAdobe committed Sep 20, 2024
1 parent ff87f05 commit 5693cad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions acrobat/blocks/prompt-card/prompt-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
position: fixed;
top: 110px;
transform: translate(-50%, -50%);
z-index: 1;
z-index: 11
z-index: 9999
}

.prompt-toast--show {
Expand Down
2 changes: 1 addition & 1 deletion acrobat/blocks/prompt-card/prompt-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function processGroup(element, startIndex, templateCfg) {
for (const cfg of blockArray) {
const blockEl = createTag('div', { class: 'prompt-card' });
await createBlock(blockEl, { ...templateCfg, ...cfg });
element.parentNode.insertBefore(blockEl, element.nextSibling);
element.parentNode.insertBefore(blockEl, element.previousSibling);
}
element.remove();
}
Expand Down

0 comments on commit 5693cad

Please sign in to comment.