refactor(controls): disable zoom in/out btns when max/min zoom is reached

This commit is contained in:
braks
2023-05-25 20:48:26 +02:00
committed by Braks
parent 8fa6ad5076
commit 49fbdadb72
2 changed files with 32 additions and 3 deletions
+9
View File
@@ -26,3 +26,12 @@
.vue-flow__controls-button:hover {
background: #f4f4f4;
}
.vue-flow__controls-button:disabled {
pointer-events: none;
}
.vue-flow__controls-button:disabled svg {
fill-opacity: 0.4;
}