diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-11-30 23:42:16 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-11-30 23:42:16 -0600 |
commit | cc1c9f8bedc102033492abfb3846e01da142f288 (patch) | |
tree | 03afe9da6289adcc28d47f289bba55e059284ec5 | |
parent | 410cb1bf18edf17357babf6ae38e77012e187818 (diff) | |
download | gitlab-ce-cc1c9f8bedc102033492abfb3846e01da142f288.tar.gz |
fix incorrect min-width media queries25198-improper-use-of-bootstrap-media-query-variables
-rw-r--r-- | app/assets/stylesheets/framework/pagination.scss | 4 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/tree.scss | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/stylesheets/framework/pagination.scss b/app/assets/stylesheets/framework/pagination.scss index cb2c351c368..b37c1d0d670 100644 --- a/app/assets/stylesheets/framework/pagination.scss +++ b/app/assets/stylesheets/framework/pagination.scss @@ -43,7 +43,7 @@ /** * Small screen pagination */ -@media (max-width: $screen-xs) { +@media (max-width: $screen-xs-min) { .gl-pagination { .pagination li a { padding: 6px 10px; @@ -62,7 +62,7 @@ /** * Medium screen pagination */ -@media (min-width: $screen-xs) and (max-width: $screen-md-max) { +@media (min-width: $screen-xs-min) and (max-width: $screen-md-max) { .gl-pagination { .page { display: none; diff --git a/app/assets/stylesheets/pages/tree.scss b/app/assets/stylesheets/pages/tree.scss index 2b836fa1f4a..20ad63be045 100644 --- a/app/assets/stylesheets/pages/tree.scss +++ b/app/assets/stylesheets/pages/tree.scss @@ -31,7 +31,7 @@ .last-commit { @include str-truncated(506px); - @media (min-width: $screen-sm-max) and (max-width: $screen-md-max) { + @media (min-width: $screen-md-min) and (max-width: $screen-md-max) { @include str-truncated(450px); } |