fix sizing and alignment of your app list

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
pull/3195/head
Jan-Christoph Borchardt 2017-03-29 01:12:46 +07:00
parent 6e5f0e0d9d
commit b5a9c4e455
2 changed files with 9 additions and 7 deletions

@ -755,22 +755,24 @@ form.section {
#apps-list.installed .section > *{ #apps-list.installed .section > *{
display: table-cell; display: table-cell;
width: auto; height: initial;
height: 3em;
vertical-align: middle; vertical-align: middle;
float: none; float: none;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
padding: .5em 1em; padding: 6px;
box-sizing: border-box; box-sizing: border-box;
} }
#apps-list.installed .app-image { #apps-list.installed .app-image {
text-align: center; width: 44px;
text-align: right;
opacity: .5; opacity: .5;
} }
#apps-list.installed .app-image-icon svg { #apps-list.installed .app-image-icon svg {
margin-top: 5px; margin-top: 5px;
width: 20px;
height: 20px;
} }
.installed .actions { .installed .actions {

@ -33,16 +33,16 @@ script(
<script id="app-template-installed" type="text/x-handlebars"> <script id="app-template-installed" type="text/x-handlebars">
<div class="section" id="app-{{id}}"> <div class="section" id="app-{{id}}">
<div class="app-image app-image-icon"></div> <div class="app-image app-image-icon"></div>
<h2 class="app-name"> <div class="app-name">
{{#if detailpage}} {{#if detailpage}}
<a href="{{detailpage}}" target="_blank" rel="noreferrer">{{name}}</a> <a href="{{detailpage}}" target="_blank" rel="noreferrer">{{name}}</a>
{{else}} {{else}}
{{name}} {{name}}
{{/if}} {{/if}}
</h2> </div>
<div class="app-version">{{version}}</div> <div class="app-version">{{version}}</div>
<div class="app-level"> <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>
<div class="app-groups"> <div class="app-groups">