aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2014-12-22 23:06:04 +0100
committerStefan Parviainen <saparvia@caterva.eu>2014-12-22 23:09:10 +0100
commitfa65d31f3fb143acc8cc273d21a43c0bbd4f0524 (patch)
treef3133697f17ddcce4086fed57ee78ed106c65df5 /view
parent83eb7a10e27a634dc64f093a885e9cb0d9f05eed (diff)
downloadvolse-hubzilla-fa65d31f3fb143acc8cc273d21a43c0bbd4f0524.tar.gz
volse-hubzilla-fa65d31f3fb143acc8cc273d21a43c0bbd4f0524.tar.bz2
volse-hubzilla-fa65d31f3fb143acc8cc273d21a43c0bbd4f0524.zip
Move app icon centering to style.css
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css8
-rw-r--r--view/tpl/app.tpl2
2 files changed, 9 insertions, 1 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 50a501ac3..e5a0e31d8 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -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;
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl
index bc4b3cc67..9f0b1746b 100644
--- a/view/tpl/app.tpl
+++ b/view/tpl/app.tpl
@@ -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'}}