Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 8475ebe

Browse files
committed
Merge pull request #1804 from adobe/randy/test-window-nav
Improve test window layout at default size on Mac
2 parents 21ea45d + b0ceb12 commit 8475ebe

File tree

5 files changed

+24
-8
lines changed

5 files changed

+24
-8
lines changed

test/BootstrapReporter.css

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
body {
2-
/* make the container go all the way to the bottom of the topbar */
3-
padding-top: 60px;
1+
@media (min-width: 728px) {
2+
body {
3+
/* make the container go all the way to the bottom of the topbar */
4+
padding-top: 60px;
5+
}
46
}
7+
58
pre {
69
overflow-x: scroll;
710
white-space: pre;
@@ -15,3 +18,16 @@ pre {
1518
.label-important, .badge-important {
1619
background-color: #F00;
1720
}
21+
22+
/* Reduce padding between lines to show more tests */
23+
.nav-pills > li > a {
24+
padding-top: 4px;
25+
padding-bottom: 4px;
26+
}
27+
28+
@media (max-width: 767px) {
29+
/* Reduce font size for smaller viewport */
30+
.nav-pills > li > a {
31+
font-size: 11px;
32+
}
33+
}

test/thirdparty/bootstrap2/css/bootstrap-responsive.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
}
136136
}
137137

138-
@media (max-width: 767px) {
138+
@media (max-width: 727px) {
139139
body {
140140
padding-right: 20px;
141141
padding-left: 20px;
@@ -679,7 +679,7 @@
679679
}
680680
}
681681

682-
@media (max-width: 979px) {
682+
@media (max-width: 727px) {
683683
body {
684684
padding-top: 0;
685685
}

0 commit comments

Comments
 (0)