Skip to content

Commit

Permalink
fix(editor): Unify canvas button positioning (#8258)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi authored Jan 8, 2024
1 parent 04836e5 commit b6c42cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/editor-ui/src/components/CanvasControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ onBeforeUnmount(() => {
.zoomMenu {
position: absolute;
width: 210px;
bottom: var(--spacing-2xl);
left: 35px;
bottom: var(--spacing-l);
left: var(--spacing-l);
line-height: 25px;
color: #444;
padding-right: 5px;
Expand Down
4 changes: 2 additions & 2 deletions packages/editor-ui/src/components/Node/NodeCreation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ function nodeTypeSelected(nodeTypes: string[]) {
.nodeCreatorButton {
position: absolute;
text-align: center;
top: var(--spacing-s);
right: var(--spacing-s);
top: var(--spacing-l);
right: var(--spacing-l);
pointer-events: all !important;
button {
Expand Down
6 changes: 3 additions & 3 deletions packages/editor-ui/src/views/NodeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4995,7 +4995,7 @@ export default defineComponent({
align-items: center;
left: 50%;
transform: translateX(-50%);
bottom: var(--spacing-2xl);
bottom: var(--spacing-l);
width: auto;
@media (max-width: $breakpoint-2xs) {
Expand Down Expand Up @@ -5199,7 +5199,7 @@ export default defineComponent({
.setupCredentialsButtonWrapper {
position: absolute;
left: 35px;
top: var(--spacing-s);
left: var(--spacing-l);
top: var(--spacing-l);
}
</style>

0 comments on commit b6c42cc

Please sign in to comment.