Fix overlowing caused by pre and tables
This commit is contained in:
		@@ -38,6 +38,9 @@
 | 
				
			|||||||
	grid-template-columns: 10em auto;
 | 
						grid-template-columns: 10em auto;
 | 
				
			||||||
	grid-column-gap: 2em;
 | 
						grid-column-gap: 2em;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/* Do not let wide blocks, such as pre, expand the column and overflow */
 | 
				
			||||||
 | 
						&>*{ min-width: 0 }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	& aside>*:first-child,
 | 
						& aside>*:first-child,
 | 
				
			||||||
	& main>*:first-child,
 | 
						& main>*:first-child,
 | 
				
			||||||
	& main>article:first-child h2
 | 
						& main>article:first-child h2
 | 
				
			||||||
@@ -140,6 +143,8 @@ main {
 | 
				
			|||||||
		max-width: 100%;
 | 
							max-width: 100%;
 | 
				
			||||||
		margin: 0 auto;
 | 
							margin: 0 auto;
 | 
				
			||||||
		text-align: left;
 | 
							text-align: left;
 | 
				
			||||||
 | 
							display: block;
 | 
				
			||||||
 | 
							overflow: auto;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		td, th { padding: 0 1em }
 | 
							td, th { padding: 0 1em }
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@@ -153,16 +158,16 @@ main {
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						code { font-size: 14px }
 | 
				
			||||||
 | 
						li>code { word-wrap: break-word }
 | 
				
			||||||
	p>code {
 | 
						p>code {
 | 
				
			||||||
		background-color: #2b303b;
 | 
							background-color: #2b303b;
 | 
				
			||||||
		color: #fff;
 | 
							color: #fff;
 | 
				
			||||||
		font-size: 14px;
 | 
					 | 
				
			||||||
		padding: .3em .5em;
 | 
							padding: .3em .5em;
 | 
				
			||||||
		border-radius: .3em;
 | 
							border-radius: .3em;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pre {
 | 
						pre {
 | 
				
			||||||
		font-size: 14px;
 | 
					 | 
				
			||||||
		padding: 1em;
 | 
							padding: 1em;
 | 
				
			||||||
		overflow: auto;
 | 
							overflow: auto;
 | 
				
			||||||
		border-radius: .3em;
 | 
							border-radius: .3em;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user