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>
|
<button type="button" class="collapsible">{{ index .Params 0 }}</button>
|
||||||
<div class="content">
|
<div class="collapsible-content">
|
||||||
<p>{{ .Inner }}</p>
|
{{ .Inner }}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
@ -75,10 +75,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Style the collapsible content. Note: hidden by default */
|
/* Style the collapsible content. Note: hidden by default */
|
||||||
.content {
|
.collapsible-content {
|
||||||
padding: 0 18px;
|
padding: 0 18px;
|
||||||
display: none;
|
display: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: #f1f1f1;
|
background-color: #f1f1f1;
|
||||||
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user