Chart zoom improvements:

- Max allowed zoom
- Hide zoom button when not zoomed
- Fix zoom out range
This commit is contained in:
emanuele-f 2018-08-03 12:28:57 +02:00
parent 3469bdb39e
commit 720c7589aa
8 changed files with 80 additions and 80 deletions

View file

@ -363,3 +363,14 @@ tr.quotas > td {
from {-webkit-clip-path: polygon(0px -1000px, 0px -1000px, 0px 1000px, 0px 1000px);}
to {-webkit-clip-path: polygon(0px -1000px, 100% -1000px, 100% 1000px, 0px 1000px);}
}
.zoom-reset {
position: absolute;
top: 14%;
right: 12%;
font-size: 0.75em;
}
.zoom-reset:hover, .zoom-reset:focus {
outline:0 !important;
}