Jacky Zhao
2025-03-09 9c8fec06d2b58e4e3bbe280ddc665a99fcc4878c
quartz/components/styles/search.scss
@@ -42,7 +42,7 @@
    }
  }
  & > #search-container {
  & > .search-container {
    position: fixed;
    contain: layout;
    z-index: 999;
@@ -58,13 +58,13 @@
      display: inline-block;
    }
    & > #search-space {
    & > .search-space {
      width: 65%;
      margin-top: 12vh;
      margin-left: auto;
      margin-right: auto;
      @media all and ($desktop) {
      @media all and not ($desktop) {
        width: 90%;
      }
@@ -91,7 +91,7 @@
        }
      }
      & > #search-layout {
      & > .search-layout {
        display: none;
        flex-direction: row;
        border: 1px solid var(--lightgray);
@@ -102,11 +102,11 @@
          display: flex;
        }
        &[data-preview] > #results-container {
        &[data-preview] > .results-container {
          flex: 0 0 min(30%, 450px);
        }
        @media all and not ($tablet) {
        @media all and not ($mobile) {
          &[data-preview] {
            & .result-card > p.preview {
              display: none;
@@ -132,7 +132,7 @@
          border-radius: 5px;
        }
        @media all and ($tablet) {
        @media all and ($mobile) {
          & > #preview-container {
            display: none !important;
          }
@@ -150,7 +150,8 @@
          scroll-margin-top: 2rem;
        }
        & > #preview-container {
        & > .preview-container {
          flex-grow: 1;
          display: block;
          overflow: hidden;
          font-family: inherit;
@@ -170,7 +171,7 @@
          }
        }
        & > #results-container {
        & > .results-container {
          overflow-y: auto;
          & .result-card {