Move app icon centering to style.css
This commit is contained in:
parent
83eb7a10e2
commit
fa65d31f3f
@ -586,6 +586,14 @@ footer {
|
||||
overflow: none;
|
||||
}
|
||||
|
||||
.app-container img {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
.pager {
|
||||
padding: 10px;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class="app-container">
|
||||
<a href="{{$app.url}}" {{if $ap.target}}target="{{$ap.target}}" {{/if}}{{if $app.desc}}title="{{$app.desc}}{{if $app.price}} ({{$app.price}}){{/if}}"{{else}}title="{{$app.name}}"{{/if}}><img style="margin-left:auto;margin-right:auto;width:80px;display:block;" src="{{$app.photo}}" width="80" height="80" />
|
||||
<a href="{{$app.url}}" {{if $ap.target}}target="{{$ap.target}}" {{/if}}{{if $app.desc}}title="{{$app.desc}}{{if $app.price}} ({{$app.price}}){{/if}}"{{else}}title="{{$app.name}}"{{/if}}><img src="{{$app.photo}}" width="80" height="80" />
|
||||
<div class="app-name" style="text-align:center;">{{$app.name}}</div>
|
||||
</a>
|
||||
{{if $app.type !== 'system'}}
|
||||
|
Reference in New Issue
Block a user