Add div to collapsible
This commit is contained in:
parent
53831da3c0
commit
0f895b71da
@ -1,4 +1,6 @@
|
||||
<div>
|
||||
<button type="button" class="collapsible">{{ index .Params 0 }}</button>
|
||||
<div class="content">
|
||||
<p>{{ .Inner }}</p>
|
||||
</div>
|
||||
<div class="collapsible-content">
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -75,10 +75,11 @@
|
||||
}
|
||||
|
||||
/* Style the collapsible content. Note: hidden by default */
|
||||
.content {
|
||||
.collapsible-content {
|
||||
padding: 0 18px;
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
background-color: #f1f1f1;
|
||||
color: black;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user