Default padding on `.container` is overridden by conditional padding of smallest breakpoint.
Leftium opened this issue · comments
Describe the issue
Default padding on .container
is overridden by $first-breakpoint
conditional padding.
- Only the smallest breakpoint should have padding: 0. All other larger breakpoints should get non-zero padding.
- However, due to the order of the CSS statements and CSS cascade, all breakpoints end up with 0 padding.
- SASS:
pico/scss/layout/_container.scss
Lines 14 to 27 in 6dc6489
- Resulting CSS:
Lines 669 to 676 in 6dc6489
Current Behavior
- Padding is missing on
.container
Expected Behavior
- Element
.container
should have padding (except for smallest breakpoint).
Reproduction URL
- Just inspect CSS compiled from Pico SASS:
Lines 661 to 679 in 6dc6489