Merge pull request #51 from komish/make-pre-code-inline-block
render code blocks as inline-block to fix indentation/padding issue
This commit is contained in:
		@@ -66,4 +66,8 @@ table th {
 | 
				
			|||||||
table th, table td {
 | 
					table th, table td {
 | 
				
			||||||
    padding: 10px 20px;
 | 
					    padding: 10px 20px;
 | 
				
			||||||
    border: 1px solid #666;
 | 
					    border: 1px solid #666;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pre code {
 | 
				
			||||||
 | 
					  display: inline-block
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -191,6 +191,11 @@ ul {
 | 
				
			|||||||
    background-color: #FAFAFA;
 | 
					    background-color: #FAFAFA;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pre code {
 | 
				
			||||||
 | 
					  display: inline-block;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.wrapper {
 | 
					.wrapper {
 | 
				
			||||||
    max-width: 760px;
 | 
					    max-width: 760px;
 | 
				
			||||||
    margin: 0 auto;
 | 
					    margin: 0 auto;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user