add height break point for login

pull/18/head
Laurin Weger 6 months ago
parent b39613117c
commit 6ed4486fbc
No known key found for this signature in database
GPG Key ID: 9B372BB0B792770F
  1. 8
      ng-app/src/lib/Login.svelte

@ -275,9 +275,11 @@
} }
let width: number; let width: number;
let breakPoint: number = 361; let height: number;
const breakPointWidth: number = 530;
const breakPointHeight: number = 900;
let mobile = false; let mobile = false;
$: if (width >= breakPoint) { $: if (width >= breakPointWidth && height >= breakPointHeight) {
mobile = false; mobile = false;
} else { } else {
mobile = true; mobile = true;
@ -626,7 +628,7 @@
{/if} {/if}
</div> </div>
<svelte:window bind:innerWidth={width} /> <svelte:window bind:innerWidth={width} bind:innerHeight={height} />
<style> <style>
.pazzleline { .pazzleline {

Loading…
Cancel
Save