body{
  overflow: hidden;
}
.graph-container {
  position: fixed;
  top: 60px; /* height of header */
  left: 250px; /* width of sidebar */
  width: calc(100% - 250px);
  height: calc(100vh - 60px);
  z-index: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background-color: white;
  transition: left 0.5s ease;
}
.navigation.collapsed ~ .graph-container,
.navigation.collapsed + .graph-container {
  left: 60px !important;
  width: calc(100% - 60px) !important;
}

@media (max-width: 768px) {
  .graph-container {
    left: 0 !important;
    width: 100% !important;
    height: 100vh;
  }
}