Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton committed Oct 16, 2024
1 parent 521941b commit e6fcc12
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scss/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// Do nothing
} @else if not comparable($prev-num, $num) {
@warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
} @else if $prev-num > $num { // OUDS mod: ascending order can be equal
} @else if $prev-num >= $num {
@warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
}
$prev-key: $key;
Expand Down
1 change: 0 additions & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,6 @@ $grid-breakpoints: (

// scss-docs-start container-max-widths
$container-max-widths: (
2xs: $ouds-grid-xs-min-width, // 390px
xs: $ouds-grid-xs-min-width, // 390px
sm: $ouds-grid-sm-min-width, // 480px
md: $ouds-grid-md-min-width, // 736px
Expand Down
8 changes: 4 additions & 4 deletions site/content/docs/0.0/layout/breakpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,16 @@ These mixins take those declared breakpoints, subtract `.02px` from them, and us
// `md` applies to small devices (landscape phones, less than 736px)
@media (max-width: 735.98px) { ... }

// `lg` applies to medium devices (tablets, less than 1024px)
// `lg` applies to medium devices (portrait tablets, less than 1024px)
@media (max-width: 1023.98px) { ... }

// `xl` applies to large devices (desktops, less than 1320px)
// `xl` applies to large devices (landscape tablets, less than 1320px)
@media (max-width: 1319.98px) { ... }

// `2xl` applies to X-large devices (large desktops, less than 1640px)
// `2xl` applies to X-large devices (desktops, less than 1640px)
@media (max-width: 1639.98px) { ... }

// `3xl` applies to 2X-large devices (larger desktops, less than 1880px)
// `3xl` applies to 2X-large devices (large desktops, less than 1880px)
@media (max-width: 1879.98px) { ... }
```

Expand Down

0 comments on commit e6fcc12

Please sign in to comment.