Sidebar and Content the same height
This commit is contained in:
		@@ -1,18 +1,19 @@
 | 
			
		||||
$-sidebar-width: 250px;
 | 
			
		||||
 | 
			
		||||
.LP-Main{
 | 
			
		||||
    display: flex;
 | 
			
		||||
    display: table;
 | 
			
		||||
    flex-direction: row-reverse;
 | 
			
		||||
    height: calc(100% - 61px);
 | 
			
		||||
 | 
			
		||||
    .LP-Main__Content{
 | 
			
		||||
         flex-grow: 1;
 | 
			
		||||
        display: table-cell;
 | 
			
		||||
         width: calc(100% -300px);
 | 
			
		||||
         min-height: 1px;
 | 
			
		||||
         padding: 25px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .LP-Main__Sidebar{
 | 
			
		||||
        flex-shrink: 0;
 | 
			
		||||
        display: table-cell;
 | 
			
		||||
        width: $-sidebar-width;
 | 
			
		||||
        flex-grow: 0;
 | 
			
		||||
        height: 100%;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +1,9 @@
 | 
			
		||||
{{> @header}}
 | 
			
		||||
<article class="LP-Main">
 | 
			
		||||
    <section class="LP-Main__Content">
 | 
			
		||||
        
 | 
			
		||||
    </section>
 | 
			
		||||
    <section class="LP-Main__Sidebar">
 | 
			
		||||
        {{> @navigation modifier='--sidebar'}}
 | 
			
		||||
    </section>
 | 
			
		||||
    <section class="LP-Main__Content">
 | 
			
		||||
        {{> @placeoverview}}
 | 
			
		||||
    </section>
 | 
			
		||||
</article>
 | 
			
		||||
		Reference in New Issue
	
	Block a user