aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2014-12-22 18:53:13 +0100
committerStefan Parviainen <saparvia@caterva.eu>2014-12-22 18:53:13 +0100
commit37534d110c0a544d76c4cd2d38d5cffa9f049ca9 (patch)
tree1bd3d27d7f4fbe4bdd8e1d8124286e7e408577b5
parent36f30d1ca1d08c54361508c7390a280e344ae0ee (diff)
downloadvolse-hubzilla-37534d110c0a544d76c4cd2d38d5cffa9f049ca9.tar.gz
volse-hubzilla-37534d110c0a544d76c4cd2d38d5cffa9f049ca9.tar.bz2
volse-hubzilla-37534d110c0a544d76c4cd2d38d5cffa9f049ca9.zip
Center app names
-rw-r--r--view/theme/redbasic/css/style.css1
-rw-r--r--view/tpl/app.tpl4
2 files changed, 2 insertions, 3 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 4681ef5ba..50a501ac3 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -583,7 +583,6 @@ footer {
}
.app-name {
- width: 125px;
overflow: none;
}
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl
index 4719f7f96..bc4b3cc67 100644
--- a/view/tpl/app.tpl
+++ b/view/tpl/app.tpl
@@ -1,6 +1,6 @@
<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 src="{{$app.photo}}" width="80" height="80" />
-<div class="app-name">{{$app.name}}</div>
+<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" />
+<div class="app-name" style="text-align:center;">{{$app.name}}</div>
</a>
{{if $app.type !== 'system'}}
{{if $purchase}}