fix horizontal layout issues
Fixes issues with the main content position, content widths, alignment, and spacing.
This commit is contained in:
		
							parent
							
								
									b65b93b5eb
								
							
						
					
					
						commit
						7f3b6795a6
					
				
					 4 changed files with 10 additions and 23 deletions
				
			
		| 
						 | 
					@ -74,6 +74,8 @@
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.typedocs-content {
 | 
					.typedocs-content {
 | 
				
			||||||
 | 
					  flex-grow: 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  &>p {
 | 
					  &>p {
 | 
				
			||||||
    margin-block: 0.618rem;
 | 
					    margin-block: 0.618rem;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
| 
						 | 
					@ -426,15 +428,6 @@ html.dark .typevariants {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media (min-width: 1280px) {
 | 
					@media (min-width: 1280px) {
 | 
				
			||||||
  .typedata {
 | 
					 | 
				
			||||||
    max-width: 47svw;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  .typedata-detailsdata,
 | 
					 | 
				
			||||||
  .typedocs-subheading {
 | 
					 | 
				
			||||||
    max-width: 42svw;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  .root-nav {
 | 
					  .root-nav {
 | 
				
			||||||
    min-width: 45svw;
 | 
					    min-width: 45svw;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -81,14 +81,13 @@ ul {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media (min-width: 768px) {
 | 
					@media (min-width: 768px) {
 | 
				
			||||||
 | 
					 | 
				
			||||||
  .docs,
 | 
					  .docs,
 | 
				
			||||||
  .docslayout-root {
 | 
					  .docslayout-root {
 | 
				
			||||||
    gap: 0.648rem;
 | 
					    gap: 0.648rem;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .docslayout-root {
 | 
					  .docslayout-root {
 | 
				
			||||||
    margin-left: calc(1.618rem + 260px);
 | 
					    justify-content: center;
 | 
				
			||||||
    display: flex;
 | 
					    display: flex;
 | 
				
			||||||
    flex-direction: row;
 | 
					    flex-direction: row;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
| 
						 | 
					@ -122,11 +121,12 @@ ul {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .docslayout-root {
 | 
					 | 
				
			||||||
    margin-inline: 15svw;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  .docslayout-inner {
 | 
					  .docslayout-inner {
 | 
				
			||||||
    min-width: 33.8rem;
 | 
					    min-width: 33.8rem;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.docslayout-inner {
 | 
				
			||||||
 | 
					  flex-grow: 1;
 | 
				
			||||||
 | 
					  max-width: 100rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -119,9 +119,3 @@
 | 
				
			||||||
    z-index: 1;
 | 
					    z-index: 1;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
@media (min-width: 1280px) {
 | 
					 | 
				
			||||||
  .nav-wrapper {
 | 
					 | 
				
			||||||
    left: 10svw;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -102,8 +102,8 @@
 | 
				
			||||||
    display: block;
 | 
					    display: block;
 | 
				
			||||||
    position: sticky;
 | 
					    position: sticky;
 | 
				
			||||||
    top: 5rem;
 | 
					    top: 5rem;
 | 
				
			||||||
    right: 8svw;
 | 
					    width: 19rem;
 | 
				
			||||||
    width: 18rem;
 | 
					    flex-shrink: 0;
 | 
				
			||||||
    max-height: 90svh;
 | 
					    max-height: 90svh;
 | 
				
			||||||
    overflow-y: scroll;
 | 
					    overflow-y: scroll;
 | 
				
			||||||
    z-index: 10;
 | 
					    z-index: 10;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue