Skip to content

Commit

Permalink
fix(ui): floating insertion marker overflow - WF-158
Browse files Browse the repository at this point in the history
When dragging a new component in the page, the placeholder marker is
displayed on top of the open panel. I just fixed it with a `z-index` to
make the `BuilderPanelSwitcher` on top of `ComponentRenderer`.
  • Loading branch information
madeindjs committed Dec 24, 2024
1 parent 4e956b1 commit 4d83f25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/src/builder/panels/BuilderPanelSwitcher.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const screenEl = ref(null);
background: var(--builderBackgroundColor);
grid-template-rows: 48px;
grid-template-columns: 1fr;
z-index: 1; /* makes sure it's on top of `.ComponentRenderer` */
}
.BuilderPanelSwitcher.openPanels {
Expand Down

0 comments on commit 4d83f25

Please sign in to comment.