Skip to content

Commit d64ed1b

Browse files
authored
update collapse block on phar page (Codeception#296)
1 parent 0211c9a commit d64ed1b

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

_includes/phar.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
1+
<div class="panel-group panel-group--phar" id="accordion" role="tablist" aria-multiselectable="true">
22
<div class="panel panel-default">
33
<div class="panel-heading" role="tab" id="headingOne">
44
<h4 class="panel-title">
@@ -13,14 +13,14 @@ <h4 class="panel-title">
1313

1414
<div class="panel-collapse-body">
1515
<div class="row">
16-
<div class="col-md-2">
16+
<div class="col-md-3">
1717

1818
<a href="/thanks" class="btn btn-success btn-expand">Download</a>
1919
</div>
20-
<div class="col-md-10">
20+
<div class="col-md-9">
2121

2222
<div class="highlight">
23-
<pre>wget https://codeception.com/codecept.phar<a href="/thanks" style="float:right" target="_blank">download <span
23+
<pre>wget https://codeception.com/codecept.phar<a href="/thanks" class="phar-download" target="_blank">download <span
2424
class="glyphicon glyphicon-download"></span></a></pre>
2525
</div>
2626

@@ -47,13 +47,13 @@ <h4 class="panel-title">
4747
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
4848
<div class="panel-collapse-body">
4949
<div class="row">
50-
<div class="col-md-2">
50+
<div class="col-md-3">
5151
<a href="/thanks_php5" target="_blank" class="btn btn-success btn-expand">Download</a>
5252
</div>
53-
<div class="col-md-10">
53+
<div class="col-md-9">
5454

5555
<div class="highlight">
56-
<pre>wget https://codeception.com/php56/codecept.phar<a href="/thanks_php5" style="float:right"
56+
<pre>wget https://codeception.com/php56/codecept.phar<a href="/thanks_php5" class="phar-download"
5757
target="_blank">download <span
5858
class="glyphicon glyphicon-download"></span></a></pre>
5959
</div>

css/codeception.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,4 +1559,21 @@ body #footer .links {
15591559
height: 52px;
15601560
margin-right: 6px;
15611561
fill: #666666;
1562+
}
1563+
1564+
.panel-group--phar .panel-collapse-body {
1565+
padding-left: 15px;
1566+
padding-right: 15px;
1567+
}
1568+
1569+
.panel-group--phar .phar-download {
1570+
display: table;
1571+
}
1572+
1573+
.panel-group--phar .btn {
1574+
width: 100%;
1575+
}
1576+
1577+
.panel-group--phar pre {
1578+
margin-bottom: 0;
15621579
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy