Jacky Zhao
2023-07-10 08f8e3b4a4879dd7c91c16fbce80c4f2bc5e357f
quartz/components/styles/graph.scss
@@ -1,3 +1,5 @@
@use "../../styles/variables.scss" as *;
.graph {
  & > h3 {
    font-size: 1rem;
@@ -11,6 +13,7 @@
    height: 250px;
    margin: 0.5em 0;
    position: relative;
    overflow: hidden;
    & > #global-graph-icon {
      color: var(--dark);
@@ -30,10 +33,6 @@
        background-color: var(--lightgray);
      }
    }
    & > #graph-container > svg {
      margin-bottom: -5px;
    }
  }
  & > #global-graph-outer {
@@ -43,9 +42,9 @@
    top: 0;
    width: 100vw;
    height: 100%;
    overflow: scroll;
    backdrop-filter: blur(4px);
    display: none;
    overflow: hidden;
    &.active {
      display: inline-block;
@@ -62,6 +61,10 @@
      transform: translate(-50%, -50%);
      height: 60vh;
      width: 50vw;
      @media all and (max-width: $fullPageWidth) {
        width: 90%;
      }
    }
  }
}