Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2020-04-18 14:02:26 +0300
committerMark Otto <otto@github.com>2020-06-15 00:50:47 +0300
commit7e28764e67c7873bc1de043cda4e412d85571d84 (patch)
tree0085b7171ae6625299ffd599eba65c1112cac645 /site/assets/scss/_content.scss
parentaee711bfa944b592facbe5df1eb9114f3c4e37e0 (diff)
Change breakpoint-max implementation
- The `media-breakpoint-down()` uses the breakpoint itself instead of the next breakpoint. Use `media-breakpoint-down(lg)` instead of `media-breakpoint-down(md)` to target viewports smaller than the `lg` breakpoint. - The `media-breakpoint-between()` mixin's second parameter also uses the breakpoint itself instead of the next breakpoint. Use `media-between(sm, lg)` instead of `media-breakpoint-between(sm, md)` to target viewports between the `sm` and `lg` breakpoints.
Diffstat (limited to 'site/assets/scss/_content.scss')
-rw-r--r--site/assets/scss/_content.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/assets/scss/_content.scss b/site/assets/scss/_content.scss
index 4e744895fd..f238fdf727 100644
--- a/site/assets/scss/_content.scss
+++ b/site/assets/scss/_content.scss
@@ -29,7 +29,7 @@
margin-bottom: 1.5rem;
@include font-size(.875rem);
- @include media-breakpoint-down(md) {
+ @include media-breakpoint-down(lg) {
display: block;
overflow-x: auto;