refactor(controls): disable zoom in/out btns when max/min zoom is reached
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user