mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +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 size($sidebar-width, 100vh)
|
||||
flex: 0 0 $sidebar-width
|
||||
padding: calc(#{$nav-height} + 1.5rem) 2rem 2rem
|
||||
padding: calc(#{$nav-height} + 1.5rem) 0 2rem
|
||||
z-index: 10
|
||||
border-right: 1px solid $color-subtle
|
||||
|
||||
|
@ -26,9 +26,12 @@
|
|||
//- Sidebar section
|
||||
|
||||
.c-sidebar__section
|
||||
& > *
|
||||
padding: 0 2rem
|
||||
|
||||
@include breakpoint(max, sm)
|
||||
flex: 1 1 0
|
||||
padding: 1.25rem
|
||||
padding: 1.25rem 0
|
||||
border-bottom: 1px solid $color-subtle
|
||||
margin: 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user