mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	Move sidebar padding to individual items
This commit is contained in:
		
							parent
							
								
									5720122cee
								
							
						
					
					
						commit
						e5df86419e
					
				|  | @ -10,7 +10,7 @@ | ||||||
|         @include position(fixed, top, left, 0, 0) |         @include position(fixed, top, left, 0, 0) | ||||||
|         @include size($sidebar-width, 100vh) |         @include size($sidebar-width, 100vh) | ||||||
|         flex: 0 0 $sidebar-width |         flex: 0 0 $sidebar-width | ||||||
|         padding: calc(#{$nav-height} + 1.5rem) 2rem 2rem |         padding: calc(#{$nav-height} + 1.5rem) 0 2rem | ||||||
|         z-index: 10 |         z-index: 10 | ||||||
|         border-right: 1px solid $color-subtle |         border-right: 1px solid $color-subtle | ||||||
| 
 | 
 | ||||||
|  | @ -26,9 +26,12 @@ | ||||||
| //- Sidebar section | //- Sidebar section | ||||||
| 
 | 
 | ||||||
| .c-sidebar__section | .c-sidebar__section | ||||||
|  |     & > * | ||||||
|  |         padding: 0 2rem | ||||||
|  | 
 | ||||||
|     @include breakpoint(max, sm) |     @include breakpoint(max, sm) | ||||||
|         flex: 1 1 0 |         flex: 1 1 0 | ||||||
|         padding: 1.25rem |         padding: 1.25rem 0 | ||||||
|         border-bottom: 1px solid $color-subtle |         border-bottom: 1px solid $color-subtle | ||||||
|         margin: 0 |         margin: 0 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user