Commit d98dc531 authored by Jacob Schatz's avatar Jacob Schatz

Correct media queries for small devices and tablets.

parent 614cd8d1
...@@ -5,14 +5,17 @@ ...@@ -5,14 +5,17 @@
*/ */
.status-box { .status-box {
@media (max-width: $screen-sm-max) {
padding: 5px 11px; /* Extra small devices (phones, less than 768px) */
margin-top: 4px; /* No media query since this is the default in Bootstrap */
} padding: 5px 11px;
margin-top: 4px;
/* Small devices (tablets, 768px and up) */
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
padding: 0 $gl-btn-padding; padding: 0 $gl-btn-padding;
margin-top: 5px; margin-top: 5px;
} }
@include border-radius(3px); @include border-radius(3px);
display: block; display: block;
float: left; float: left;
......
...@@ -27,9 +27,10 @@ ...@@ -27,9 +27,10 @@
} }
&.right-sidebar-expanded { &.right-sidebar-expanded {
@media (max-width: $screen-sm-max) { /* Extra small devices (phones, less than 768px) */
padding-right: 0; /* No media query since this is the default in Bootstrap */
} padding-right: 0;
/* Small devices (tablets, 768px and up) */
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
padding-right: $gutter_width; padding-right: $gutter_width;
} }
......
...@@ -11,12 +11,12 @@ ...@@ -11,12 +11,12 @@
%span.hidden-xs %span.hidden-xs
Closed Closed
%span.hidden-sm.hidden-md.hidden-lg %span.hidden-sm.hidden-md.hidden-lg
=icon('check') = icon('check')
.status-box{ class: "status-box-open #{issue_button_visibility(@issue, true)}"} .status-box{ class: "status-box-open #{issue_button_visibility(@issue, true)}"}
%span.hidden-xs %span.hidden-xs
Open Open
%span.hidden-sm.hidden-md.hidden-lg %span.hidden-sm.hidden-md.hidden-lg
=icon('circle-o') = icon('circle-o')
%a.btn.btn-default.pull-right.hidden-sm.hidden-md.hidden-lg.gutter-toggle{ href: "#" } %a.btn.btn-default.pull-right.hidden-sm.hidden-md.hidden-lg.gutter-toggle{ href: "#" }
=icon('angle-double-left') =icon('angle-double-left')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment