Fixes wallet page issues found on handheld devices

This commit is contained in:
Igor Kuzmenko 2017-07-19 12:21:40 +02:00
parent 4476af6a9f
commit 9e622be29f
2 changed files with 109 additions and 328 deletions

View file

@ -3,13 +3,14 @@ This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
<div class="wallets" id="wallets" onclick="walletListener(event);" ontouchstart="walletListener(event);">
<div class="wallet-list" id="wallets" onclick="walletListener(event);" ontouchstart="walletListener(event);">
{% for wallet in site.wallets %}
{% assign platform = page.platform['name'] %}
{% assign os = page.os['name'] %}
{% if wallet.compat contains platform and wallet.compat contains os %}
<div data-walletlevel="{{ wallet.level }}">
<a href="/{{ page.lang}}/wallets/{{ platform }}/{{ os }}/{{ wallet.id }}/">
<div class="wallet-list-item" data-walletlevel="{{ wallet.level }}">
<a class="wallet-list-item-link"
href="/{{ page.lang}}/wallets/{{ platform }}/{{ os }}/{{ wallet.id }}/">
<img src="/img/wallet/{{ wallet.id }}.png" alt="{{ wallet.title }}" />
{{ wallet.titleshort }}
</a>