* fix(table of contents): multiple scrollbars (https://github.com/jackyzha0/quartz/issues/1388) * fix(center): Main content mininum width (https://github.com/jackyzha0/quartz/issues/1439) * fix(code block): Horizontal overflow fix (https://github.com/jackyzha0/quartz/issues/1438, https://github.com/jackyzha0/quartz/issues/1353) * WIP fix for ul/ol .overflow * Fix: restore former scrollbar behavior for overflow lists (https://github.com/jackyzha0/quartz/issues/1437) * Fix: code block overflow-x * fix: Table of Content overflow (https://github.com/jackyzha0/quartz/issues/1437) * Address feedback * Move max-height toggle from js to css
		
			
				
	
	
		
			45 lines
		
	
	
		
			759 B
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			759 B
		
	
	
	
		
			SCSS
		
	
	
	
	
	
@use "../../styles/variables.scss" as *;
 | 
						|
 | 
						|
.backlinks {
 | 
						|
  @media all and not ($mobile) {
 | 
						|
    overflow-y: auto;
 | 
						|
    display: flex;
 | 
						|
    flex-direction: column;
 | 
						|
    &:after {
 | 
						|
      pointer-events: none;
 | 
						|
      content: "";
 | 
						|
      width: 100%;
 | 
						|
      height: 50px;
 | 
						|
      position: absolute;
 | 
						|
      left: 0;
 | 
						|
      bottom: 0;
 | 
						|
      opacity: 1;
 | 
						|
      transition: opacity 0.3s ease;
 | 
						|
      background: linear-gradient(transparent 0px, var(--light));
 | 
						|
    }
 | 
						|
 | 
						|
    & > h3 {
 | 
						|
      font-size: 1rem;
 | 
						|
      margin: 0;
 | 
						|
    }
 | 
						|
 | 
						|
    & > ul {
 | 
						|
      list-style: none;
 | 
						|
      padding: 0;
 | 
						|
      margin: 0.5rem 0;
 | 
						|
 | 
						|
      & > li {
 | 
						|
        & > a {
 | 
						|
          background-color: transparent;
 | 
						|
        }
 | 
						|
      }
 | 
						|
    }
 | 
						|
 | 
						|
    & > .overflow {
 | 
						|
      &:after {
 | 
						|
        display: none;
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 |