Skip to content

Commit 35c8513

Browse files
authored
update head panel on mobile (Codeception#299)
1 parent 81e61f3 commit 35c8513

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

css/codeception.css

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,12 @@ body .navbar-inverse .navbar-toggle .icon-bar {
992992
body .panel-info>.panel-heading {
993993
background: #fff;
994994
border-radius: 0;
995+
display: flex;
996+
flex-direction: column;
997+
}
998+
999+
body .panel-info>.panel-heading a {
1000+
margin-top: 10px;
9951001
}
9961002

9971003
.doc-btn {
@@ -1149,10 +1155,6 @@ body .panel-info>.panel-heading {
11491155
font-size: 16px;
11501156
}
11511157

1152-
.quickstart-panel .panel-heading a {
1153-
float: right;
1154-
}
1155-
11561158
.test-forum img{
11571159
height: 64px;
11581160
}
@@ -1516,6 +1518,16 @@ body #footer .links {
15161518
.intro-block .pull-right {
15171519
float: right !important;
15181520
}
1521+
1522+
body .panel-info>.panel-heading {
1523+
flex-direction: row;
1524+
justify-content: space-between;
1525+
align-items: center;
1526+
}
1527+
1528+
body .panel-info>.panel-heading a {
1529+
margin-top: 0;
1530+
}
15191531
}
15201532

15211533
.iframe-wrapper {

quickstart.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ <h1>
2424
<div class="col-xs-12 col-lg-6 col-lg-offset-3">
2525
<div class="panel panel-info quickstart-panel">
2626
<div class="panel-heading">
27+
<h4 class="panel-title">1.Install</h4>
2728
<a href="/install">Alternative Installations &raquo;</a>
28-
<h4 class="panel-title">1.Install</h4></div>
29+
</div>
2930
<div class="panel-body text-center">
3031
<div class="">
3132
Install via Composer

0 commit comments

Comments
 (0)