Commit d98dc531 authored by Jacob Schatz's avatar Jacob Schatz

Correct media queries for small devices and tablets.

parent 614cd8d1
......@@ -5,14 +5,17 @@
*/
.status-box {
@media (max-width: $screen-sm-max) {
padding: 5px 11px;
margin-top: 4px;
}
/* Extra small devices (phones, less than 768px) */
/* 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) {
padding: 0 $gl-btn-padding;
margin-top: 5px;
}
@include border-radius(3px);
display: block;
float: left;
......
......@@ -27,9 +27,10 @@
}
&.right-sidebar-expanded {
@media (max-width: $screen-sm-max) {
padding-right: 0;
}
/* Extra small devices (phones, less than 768px) */
/* 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) {
padding-right: $gutter_width;
}
......
......@@ -11,12 +11,12 @@
%span.hidden-xs
Closed
%span.hidden-sm.hidden-md.hidden-lg
=icon('check')
= icon('check')
.status-box{ class: "status-box-open #{issue_button_visibility(@issue, true)}"}
%span.hidden-xs
Open
%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: "#" }
=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