commit 439953e4849a73e4975e6d26ae7806b387ee9e60
parent 78dd7764260a8455bf91c83945dad9326cd709dd
Author: Robin Linus <robin_woll@capira.de>
Date: Mon, 17 Oct 2016 01:40:41 +0200
Fix layout for iPhone 4
Diffstat:
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/app/elements/buddy-finder/personal-avatar.html b/app/elements/buddy-finder/personal-avatar.html
@@ -47,9 +47,9 @@
}
}
- @media all and (max-height: 370px) {
+ @media all and (max-height: 380px) {
:host {
- bottom: 8px;
+ bottom: 4px;
}
iron-icon {
width: 32px;
diff --git a/app/elements/donate-dialog/donate-dialog.html b/app/elements/donate-dialog/donate-dialog.html
@@ -39,7 +39,7 @@
</style>
<paper-dialog id="dialog" with-backdrop entry-animation="scale-up-animation" exit-animation="fade-out-animation" modal>
<h2>Do you like Snapdrop?</h2>
- <a href="https://www.paypal.com/cgi-bin/webscr?business=robin@capira.de&cmd=_xclick¤cy_code=USD&item_name=Snapdrop&shipping=0" target="_blank" dialog-confirm>
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&cmd=_donations&business=robin@capira.de¤cy_code=USD&item_name=Snapdrop&shipping=0" target="_blank" dialog-confirm>
<p>
<iron-icon icon="chat:local-cafe"></iron-icon>
<span>Donate a cup of Coffee <br>to the Developers!</span>
@@ -47,7 +47,7 @@
</a>
<div class="buttons">
<paper-button dialog-dismiss>No, thanks.</paper-button>
- <a href="https://www.paypal.com/cgi-bin/webscr?business=robin@capira.de&cmd=_xclick¤cy_code=USD&item_name=Snapdrop&shipping=0" target="_blank">
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&cmd=_donations&business=robin@capira.de¤cy_code=USD&item_name=Snapdrop&shipping=0" target="_blank">
<paper-button dialog-confirm>Donate</paper-button>
</a>
</div>
diff --git a/app/elements/x-cards/about-page.html b/app/elements/x-cards/about-page.html
@@ -142,7 +142,7 @@
Like my Facebook Page!
</paper-tooltip>
</a>
- <a href="https://www.paypal.com/cgi-bin/webscr?business=robin@capira.de&cmd=_xclick¤cy_code=USD&item_name=Snapdrop&shipping=0" target="_blank">
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&cmd=_donations&business=robin@capira.de¤cy_code=USD&item_name=Snapdrop&shipping=0" target="_blank">
<iron-icon icon="chat:local-cafe"></iron-icon>
<paper-tooltip position="bottom" offset="14">
You like Snapdrop?
diff --git a/app/scripts/animated-bg.js b/app/scripts/animated-bg.js
@@ -19,7 +19,7 @@
h = window.innerHeight;
c.width = w;
c.height = h;
- var offset = h > 370 ? 100 : 65;
+ var offset = h > 380 ? 100 : 65;
x0 = w / 2;
y0 = h - offset;
dw = Math.max(w, h, 1000) / 13;