diff --git a/src/pages/Group.svelte b/src/pages/Group.svelte
index 45617612..5737d04c 100644
--- a/src/pages/Group.svelte
+++ b/src/pages/Group.svelte
@@ -30,7 +30,7 @@
let settings = JSON.parse(localStorage.getItem("pk-settings"));
let currentPage = 1;
- let itemsPerPage = 10;
+ let itemsPerPage = settings && settings.accessibility && settings.accessibility.expandedcards ? 5 : 10;
$: indexOfLastItem = currentPage * itemsPerPage;
$: indexOfFirstItem = indexOfLastItem - itemsPerPage;
@@ -148,6 +148,7 @@
+ {#if settings && settings.accessibility && !(settings.accessibility.pagelinks || settings.accessibility.expandedcards)}
{#each slicedMembers as member, index (member.id)}
{#if (!isPublic && member.privacy.visibility === "public") || isPublic}
@@ -167,6 +168,55 @@
{/if}
{/each}
+ {:else if settings.accessibility.expandedcards}
+ {#each slicedMembers as member, index (member.id)}
+ {#if (!isPublic && member.privacy.visibility === "public") || isPublic}
+
+
+
+
+
+
+
+
+
+
+ {:else}
+
+
+
+
+
+
+
+
+
+
+ {/if}
+ {/each}
+ {:else}
+
+ {#each slicedMembers as member, index (member.id)}
+ {#if (!isPublic && member.privacy.visibility === "public") || isPublic}
+
+
+
+
+
+
+
+ {:else}
+
+
+
+
+
+
+
+ {/if}
+ {/each}
+
+ {/if}
{/if}
{/if}
diff --git a/src/pages/Member.svelte b/src/pages/Member.svelte
index 14e3f742..ad566ffb 100644
--- a/src/pages/Member.svelte
+++ b/src/pages/Member.svelte
@@ -31,7 +31,7 @@
let settings = JSON.parse(localStorage.getItem("pk-settings"));
let currentPage = 1;
- let itemsPerPage = 10;
+ let itemsPerPage = settings && settings.accessibility && settings.accessibility.expandedcards ? 5 : 10;
$: indexOfLastItem = currentPage * itemsPerPage;
$: indexOfFirstItem = indexOfLastItem - itemsPerPage;
@@ -154,6 +154,7 @@
+ {#if settings && settings.accessibility && !(settings.accessibility.pagelinks || settings.accessibility.expandedcards)}
{#each slicedGroups as group, index (group.id)}
{#if (!isPublic && group.privacy.visibility === "public") || isPublic}
@@ -173,6 +174,55 @@
{/if}
{/each}
+ {:else if settings.accessibility.expandedcards}
+ {#each slicedGroups as group, index (group.id)}
+ {#if (!isPublic && group.privacy.visibility === "public") || isPublic}
+
+
+
+
+
+
+
+
+
+
+ {:else}
+
+
+
+
+
+
+
+
+
+
+ {/if}
+ {/each}
+ {:else}
+
+ {#each slicedGroups as group, index (group.id)}
+ {#if (!isPublic && group.privacy.visibility === "public") || isPublic}
+
+
+
+
+
+
+
+ {:else}
+
+
+
+
+
+
+
+ {/if}
+ {/each}
+
+ {/if}
{/if}
{/if}