Fix weird equal heights in list of installable plugins.
Some plugins on Spartacus have longer descriptions, making their entires longer. Now, the description is collapsible using a details element. References #125
This commit is contained in:
@ -77,9 +77,21 @@
|
||||
{foreach $groupstack as $plug}
|
||||
<li class="clearfix">
|
||||
<div class="equal_heights">
|
||||
<h4>{$plug.name} ({$plug.class_name})</h4>
|
||||
<h4>{$plug.name}</h4>
|
||||
|
||||
<p class="plugin_desc">{$plug.description}</p>
|
||||
{if $plug.description}
|
||||
<details class="plugin_data">
|
||||
<summary><var class="perm_name">[{$plug.class_name}]</var></summary>
|
||||
|
||||
<div class="plugin_desc clearfix">
|
||||
{$plug.description}
|
||||
</div>
|
||||
</details>
|
||||
{else}
|
||||
<div class="plugin_data">
|
||||
<var class="perm_name">[{$plug.class_name}]</var>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<ul class="plugin_info plainList">
|
||||
{if ! empty($plug.author)}
|
||||
|
@ -479,7 +479,8 @@ label > span,
|
||||
#mediaPropertyForm header b,
|
||||
#mediaPropertyForm footer b,
|
||||
#content .upgrade_done,
|
||||
.pluginmanager_description .perm_name {
|
||||
.pluginmanager_description .perm_name,
|
||||
.plugin_data > .perm_name {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@ -502,7 +503,8 @@ details,
|
||||
form > a,
|
||||
form > button,
|
||||
#content .upgrade_done,
|
||||
#upgrade_notice {
|
||||
#upgrade_notice,
|
||||
.plugin_data > .perm_name {
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
@ -517,6 +519,10 @@ form > button,
|
||||
margin-bottom: .25em;
|
||||
}
|
||||
|
||||
.plugin_desc {
|
||||
margin-top: .25em;
|
||||
}
|
||||
|
||||
#categories,
|
||||
#categories ul,
|
||||
#serendipity_image_folders,
|
||||
|
Reference in New Issue
Block a user