summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-03-29 01:12:46 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-25 00:22:01 +0200
commitb5a9c4e4554136c437a8d90a36e51e1fbc414eed (patch)
tree311274642f09fa0bc37c2d5c39c7dcbb617cf335 /settings
parent6e5f0e0d9db35fcda3333539bf0935381396d3d2 (diff)
downloadnextcloud-server-b5a9c4e4554136c437a8d90a36e51e1fbc414eed.tar.gz
nextcloud-server-b5a9c4e4554136c437a8d90a36e51e1fbc414eed.zip
fix sizing and alignment of your app list
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings')
-rw-r--r--settings/css/settings.css10
-rw-r--r--settings/templates/apps.php6
2 files changed, 9 insertions, 7 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 62875997467..fb39bc410f7 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -755,22 +755,24 @@ form.section {
#apps-list.installed .section > *{
display: table-cell;
- width: auto;
- height: 3em;
+ height: initial;
vertical-align: middle;
float: none;
border-bottom: 1px solid #eee;
- padding: .5em 1em;
+ padding: 6px;
box-sizing: border-box;
}
#apps-list.installed .app-image {
- text-align: center;
+ width: 44px;
+ text-align: right;
opacity: .5;
}
#apps-list.installed .app-image-icon svg {
margin-top: 5px;
+ width: 20px;
+ height: 20px;
}
.installed .actions {
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index e102d87afaa..224092d9ae5 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -33,16 +33,16 @@ script(
<script id="app-template-installed" type="text/x-handlebars">
<div class="section" id="app-{{id}}">
<div class="app-image app-image-icon"></div>
- <h2 class="app-name">
+ <div class="app-name">
{{#if detailpage}}
<a href="{{detailpage}}" target="_blank" rel="noreferrer">{{name}}</a>
{{else}}
{{name}}
{{/if}}
- </h2>
+ </div>
<div class="app-version">{{version}}</div>
<div class="app-level">
- {{{level}}}{{#unless internal}}<a href="https://apps.nextcloud.com/apps/{{id}}">View in Store</a>{{/unless}}
+ {{{level}}}{{#unless internal}}<a href="https://apps.nextcloud.com/apps/{{id}}"><?php p($l->t('View in store'));?> ↗</a>{{/unless}}
</div>
<div class="app-groups">