Fix inconsistent sidebar sizing due to scrollbars with viewport units for desktop only (#182)
This commit is contained in:
		
							parent
							
								
									56ff304672
								
							
						
					
					
						commit
						37b42ff61f
					
				
					 2 changed files with 8 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -484,8 +484,8 @@ ul.social {
 | 
			
		|||
 | 
			
		||||
@media screen and (min-width: 768px) {
 | 
			
		||||
  aside {
 | 
			
		||||
    width: 25%;
 | 
			
		||||
    height: 100%;
 | 
			
		||||
    width: 25vw;
 | 
			
		||||
    height: 100vh;
 | 
			
		||||
    position: fixed;
 | 
			
		||||
    top: 0;
 | 
			
		||||
    left: 0;
 | 
			
		||||
| 
						 | 
				
			
			@ -510,16 +510,17 @@ ul.social {
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  main {
 | 
			
		||||
    width: 75%;
 | 
			
		||||
    height: 100%;
 | 
			
		||||
    width: 75vw;
 | 
			
		||||
    height: 100vh;
 | 
			
		||||
    position: absolute;
 | 
			
		||||
    top: 0;
 | 
			
		||||
    left: 25%;
 | 
			
		||||
    left: 25vw;
 | 
			
		||||
    overflow-x: hidden;
 | 
			
		||||
 | 
			
		||||
    article {
 | 
			
		||||
 | 
			
		||||
      &.single {
 | 
			
		||||
        min-height: 80%;
 | 
			
		||||
        min-height: 80vh;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      ul.list {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								static/stylesheet/style.min.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								static/stylesheet/style.min.css
									
										
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue