mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
fix(editor): Unify canvas button positioning (#8258)
This commit is contained in:
parent
04836e5c56
commit
b6c42cc084
|
@ -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;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue