Skip to content

Commit

Permalink
Tweak plugin modal actionButton whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mneudert committed Apr 24, 2024
1 parent b9f0c50 commit 8a8e143
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
6 changes: 1 addition & 5 deletions plugins/Marketplace/stylesheets/plugin-details.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
text-align: left;
line-height: 20px;

> .row > .col {
padding-left: 0;
padding-right: 0;
}

#pluginDetailsTabs > .col {
padding: 0 16px 0 0;
}
Expand Down Expand Up @@ -69,6 +64,7 @@
.download,
.install {
padding: 11px 19px;
margin-bottom: 20px;
font-size: 17.5px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
Expand Down
25 changes: 2 additions & 23 deletions plugins/Marketplace/templates/plugin-details.twig
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@
rel="noreferrer noopener"
href="{{ plugin.consumer.loginUrl|default('')|e('html_attr') }}"
>{{ 'Marketplace_UpgradeSubscription'|translate }}</a>
{% else %}
<br />
<br />
<br />
<br />
{% endif %}
{% elseif isSuperUser %}
{% if not isAutoUpdatePossible %}
Expand All @@ -130,31 +125,15 @@
<a class="install update"
href="{{ linkTo({'module': 'Marketplace', 'action':'updatePlugin', 'pluginName': plugin.name, 'nonce': updateNonce}) }}"
>{{ 'CoreUpdater_UpdateTitle'|translate }}</a>
{% elseif plugin.isInstalled %}
<br />
<br />
<br />
<br />
{% elseif 0 < plugin.missingRequirements|length %}
<br />
<br />
<br />
<br />
{% else %}
{% elseif not plugin.isInstalled and 0 == plugin.missingRequirements|length %}
<a href="{{ linkTo({'module': 'Marketplace', 'action': 'installPlugin', 'pluginName': plugin.name, 'nonce': installNonce}) }}"
class="install">{{ 'Marketplace_ActionInstall'|translate }}</a>
{% endif %}
{% else %}
<br />
<br />
<br />
<br />
{% endif %}
</div>

{% if plugin.specialOffer is defined and plugin.specialOffer %}<p style="color: green;"><br />{{ plugin.specialOffer }}</p>{% endif %}
{% if plugin.specialOffer is defined and plugin.specialOffer %}<p style="color: green;">{{ plugin.specialOffer }}<br /><br /></p>{% endif %}

<p><br /></p>
<dl>
{% if not isBundle %}
<dt>{{ 'CorePluginsAdmin_Version'|translate }}</dt>
Expand Down

0 comments on commit 8a8e143

Please sign in to comment.