fix(editor): Unify canvas button positioning (#8258)

This commit is contained in:
Tomi Turtiainen 2024-01-08 14:44:56 +02:00 committed by GitHub
parent 04836e5c56
commit b6c42cc084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -93,8 +93,8 @@ onBeforeUnmount(() => {
.zoomMenu { .zoomMenu {
position: absolute; position: absolute;
width: 210px; width: 210px;
bottom: var(--spacing-2xl); bottom: var(--spacing-l);
left: 35px; left: var(--spacing-l);
line-height: 25px; line-height: 25px;
color: #444; color: #444;
padding-right: 5px; padding-right: 5px;

View file

@ -173,8 +173,8 @@ function nodeTypeSelected(nodeTypes: string[]) {
.nodeCreatorButton { .nodeCreatorButton {
position: absolute; position: absolute;
text-align: center; text-align: center;
top: var(--spacing-s); top: var(--spacing-l);
right: var(--spacing-s); right: var(--spacing-l);
pointer-events: all !important; pointer-events: all !important;
button { button {

View file

@ -4995,7 +4995,7 @@ export default defineComponent({
align-items: center; align-items: center;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
bottom: var(--spacing-2xl); bottom: var(--spacing-l);
width: auto; width: auto;
@media (max-width: $breakpoint-2xs) { @media (max-width: $breakpoint-2xs) {
@ -5199,7 +5199,7 @@ export default defineComponent({
.setupCredentialsButtonWrapper { .setupCredentialsButtonWrapper {
position: absolute; position: absolute;
left: 35px; left: var(--spacing-l);
top: var(--spacing-s); top: var(--spacing-l);
} }
</style> </style>