flexboxgrid icon indicating copy to clipboard operation
flexboxgrid copied to clipboard

The container size to the smallest size monitor

Open mrKorg opened this issue 6 years ago • 0 comments

Hi. First of all great job! Secondly, for the smaller monitor turns min-width: $size But is it not more logical to make for the smallest size, such as xs to limit the width with max-width?

For personal purposes corrected so (sass):

@each $breakpoint in $breakpoints $name: nth($breakpoint, 1) $size: nth($breakpoint, 2) $container: nth($breakpoint, 3) @media only screen and (min-width: $size) ..... @if $name != 'xs' @media only screen and (min-width: $size) .container max-width: $container @else @media only screen and (max-width: $size) .container max-width: $container

I apologize for the lack of indentation

mrKorg avatar Aug 01 '17 20:08 mrKorg